-
Notifications
You must be signed in to change notification settings - Fork 902
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: ability to retrieve agents session, turn, step by ids #1286
Conversation
@@ -21,6 +21,7 @@ | |||
class AgentSessionInfo(BaseModel): | |||
session_id: str | |||
session_name: str | |||
# TODO: is this used anywhere? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe remove this vector_db_id
within the Agent session? Should be possible for an agent session to have access to multiple vector_db_ids?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems arbitrary to have a single vector db id here. Maybe remove in another PR?
# What does this PR do? - It is not being used anywhere and doesn't make sense to have 1 single vector_db_id in an agent session. No top level API change. - See #1286 (comment) [//]: # (If resolving an issue, uncomment and update the line below) [//]: # (Closes #[issue-number]) ## Test Plan - See #1286 (comment) [//]: # (## Documentation)
What does this PR do?
Fix up rotten implementation for retrieving agent's Session, Turn, Step with actual working implementation.
Update
getting_started
notebook with retrieving by agent session_id. https://github.com/meta-llama/llama-stack/blob/export_agent_dataset/docs/getting_started.ipynbTest Plan
Test with script: https://gist.github.com/yanxi0830/657cecee8f1f0e39d322963d9c0f598e