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: ability to retrieve agents session, turn, step by ids #1286

Merged
merged 6 commits into from
Feb 27, 2025

Conversation

yanxi0830
Copy link
Contributor

@yanxi0830 yanxi0830 commented Feb 26, 2025

What does this PR do?

Test Plan

Test with script: https://gist.github.com/yanxi0830/657cecee8f1f0e39d322963d9c0f598e

image

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 26, 2025
@@ -21,6 +21,7 @@
class AgentSessionInfo(BaseModel):
session_id: str
session_name: str
# TODO: is this used anywhere?
Copy link
Contributor Author

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?

Copy link
Contributor

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?

@yanxi0830 yanxi0830 marked this pull request as ready for review February 26, 2025 23:24
@yanxi0830 yanxi0830 added this to the v0.1.5 milestone Feb 26, 2025
@yanxi0830 yanxi0830 merged commit fc5aff3 into main Feb 27, 2025
5 checks passed
@yanxi0830 yanxi0830 deleted the export_agent_dataset branch February 27, 2025 17:45
yanxi0830 added a commit that referenced this pull request Feb 27, 2025
# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants