Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add CLI CI test #1858

Merged
merged 9 commits into from
Oct 9, 2024
Merged

chore: add CLI CI test #1858

merged 9 commits into from
Oct 9, 2024

Conversation

mattzh72
Copy link
Collaborator

@mattzh72 mattzh72 commented Oct 9, 2024

Description

Add CLI CI test. This performs a basic test of retrieving an existing agent, and checks the the initial output is valid. A couple of notes:

  • We have a pytest fixture that backs up and deletes the user's .letta, and then swaps the backup copy to the .letta directory after the test is done
  • We rewrite the credentials file dynamically to prevent API key leakage
  • We factor out all the decorative emojis to constants so we can ensure test consistency

Testing

Ran the test locally and confirmed CI passes.

@mattzh72 mattzh72 changed the title Add CLI CI test chore: add CLI CI test Oct 9, 2024
Copy link
Collaborator

@sarahwooders sarahwooders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@mattzh72 mattzh72 merged commit c6368f3 into main Oct 9, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants