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

Support for new tools and agents API #73

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dineshyv
Copy link
Contributor

@dineshyv dineshyv commented Dec 30, 2024

This PR updates the client SDK with latest tool and agent API changes. Adds utility to define an agent with memory, which abstracts the creation of memory bank and memory tool from the user.
Server changes: meta-llama/llama-stack#673
Test plan:
LLAMA_STACK_CONFIG="/Users/dineshyv/.llama/distributions/llamastack-together/together-run.yaml" pytest -v tests/client-sdk/agents/test_agents.py

@dineshyv dineshyv force-pushed the new-toolruntime-v6 branch from 092c3de to 2687366 Compare January 3, 2025 18:24
remove attachements

add a consturctor to support Agents.with_memory

find the memory runtime provider dynamically

discover the embedding model

updates to new API changes~

add AugmentConfigWithMemoryTool
@dineshyv dineshyv force-pushed the new-toolruntime-v6 branch from 2687366 to 82d506f Compare January 3, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants