You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Need to change the following code:
openapi.yaml
: allowid
parameter as optional uuid string in POST /agents, /users, /sessionsAnd 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
The text was updated successfully, but these errors were encountered: