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: Update REST API routes GET information for agents/humans/personas and store humans/personas in DB #1074

Merged
merged 8 commits into from
Mar 2, 2024

Conversation

sarahwooders
Copy link
Collaborator

@sarahwooders sarahwooders commented Mar 1, 2024

Please describe the purpose of this pull request.
This PR stores humans/personas in the DB instead of on local files, and allows them to be accessed via the metadata store. It also adds the following to the REST endpoint:

  • Add to Agent API response:
    • persona
    • memories
    • data sources
    • tools
      • always on tools
      • custom tools added
    • Last Run Date
  • Return real information for GET humans/personas

How to test
pytest -s tests/test_metadata_store.py

Related issues or PRs

@sarahwooders sarahwooders changed the title [feat] Update REST API routes GET information for agents/humans/personas and store humans/personas in DB feat: Update REST API routes GET information for agents/humans/personas and store humans/personas in DB Mar 1, 2024
@cpacker cpacker self-requested a review March 2, 2024 21:07
Copy link
Owner

@cpacker cpacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpacker cpacker merged commit 15dbe34 into main Mar 2, 2024
4 checks passed
@cpacker cpacker deleted the rest-api-routes branch March 2, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants