Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add tests for docs routes in
agents-api/tests/test_docs_routes.py
.For more details, open the Copilot Workspace session.
Summary:
Add tests for document routes in
agents-api
, and update SDKs and API documentation for user and agent document management.Key points:
agents-api/tests/test_docs_routes.py
for document routes.POST /users/{user.id}/docs
for creating user documents.POST /agents/{agent.id}/docs
for creating agent documents.DELETE /agents/{agent.id}/docs/{doc_id}
for deleting agent documents.DELETE /users/{user.id}/docs/{doc_id}
for deleting user documents.GET /docs/{doc_id}
for retrieving documents.GET /users/{user.id}/docs
for listing user documents.GET /agents/{agent.id}/docs
for listing agent documents.POST /users/{user.id}/search
for searching user documents.POST /agents/{agent.id}/search
for searching agent documents.sdks/python/julep/api/client.py
andsdks/ts/src/api/services/DefaultService.ts
for new delete routes.typespec/docs/endpoints.tsp
for new API endpoints.Generated with ❤️ by ellipsis.dev