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(agents-api): Allow developers to optionally specify and set the UUID when creating (agent, session, user) objects through the REST API #392

Open
creatorrr opened this issue Jun 7, 2024 · 0 comments · May be fixed by #428
Labels

Comments

@creatorrr
Copy link
Contributor

creatorrr commented Jun 7, 2024

Need to change the following code:

  • openapi.yaml: allow id parameter as optional uuid string in POST /agents, /users, /sessions

And check if id parameter was passed in the POST handler, if not, then generate a new one:

  • agents-api/agents_api/routers/agents/routers.py
  • agents-api/agents_api/routers/users/routers.py
  • agents-api/agents_api/routers/sessions/routers.py
@creatorrr creatorrr changed the title Allow developers to set the UUID of root objects and use them for upsert endpoints feat(agents-api): Allow developers to optionally specify and set the UUID when creating (agent, session, user) objects through the REST API Jun 30, 2024
@creatorrr creatorrr added the p1 label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant