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: add agent types #1831

Merged
merged 10 commits into from
Oct 8, 2024
Merged

feat: add agent types #1831

merged 10 commits into from
Oct 8, 2024

Conversation

vivek3141
Copy link
Contributor

@vivek3141 vivek3141 commented Oct 5, 2024

This PR creates an AgentType enum for the purposes of being able to create different kinds of agents. Funtionality is checked by a barebones test created in tests/test_agent_type.py.

For this modification the AgentState is modified to include an agent_type field, along with the CreateAgent schema that's sent to the server.

@vivek3141 vivek3141 changed the title Create AgentConfig for different agent types feat: add agent types Oct 8, 2024
letta/schemas/agent_config.py Outdated Show resolved Hide resolved
letta/schemas/agent_config.py Outdated Show resolved Hide resolved
letta/client/client.py Outdated Show resolved Hide resolved
letta/schemas/agent.py Outdated Show resolved Hide resolved
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!

@sarahwooders sarahwooders merged commit 90a1e3b into main Oct 8, 2024
11 checks passed
@sarahwooders sarahwooders deleted the agent-config branch October 8, 2024 18:18
mattzh72 pushed a commit that referenced this pull request Oct 9, 2024
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