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

feat: changes create agent API to accept optional system value. #1575

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

Vandracon
Copy link

Please describe the purpose of this pull request.
Is it to add a new feature? Is it to fix a bug?

Fix bug

How to test
How can we test your PR during review? What commands should we run? What outcomes should we expect?

Create agent API, pass system field to set the agents system (prompt).
Use admin site and create agent, should work as normal as it does not send a system field.

Have you tested this PR?
Have you tested the latest commit on the PR? If so please provide outputs from your tests.

Agent saves the system given to it.

Related issues or PRs
Please link any related GitHub issues or PRs.

Is your PR over 500 lines of code?
If so, please break up your PR into multiple smaller PRs so that we can review them quickly, or provide justification for its length.

Additional context
Add any other context or screenshots about the PR here.

@sarahwooders sarahwooders changed the title Changes create agent API to accept optional system value. feat: changes create agent API to accept optional system value. Jul 26, 2024
@sarahwooders sarahwooders self-requested a review July 26, 2024 21:30
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, thank you!

@sarahwooders sarahwooders merged commit 6b34864 into letta-ai:main Jul 26, 2024
9 of 12 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