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

main <- dev #511

Merged
merged 20 commits into from
Sep 19, 2024
Merged

main <- dev #511

merged 20 commits into from
Sep 19, 2024

Conversation

creatorrr
Copy link
Contributor

@creatorrr creatorrr commented Sep 19, 2024

🚀 This description was created by db6594f

feat: enhance agents API and session management, update Docker configurations

Summary:

This pull request enhances the agents API, session management, and task execution, updates Docker configurations, and improves error handling and security across the codebase.

Key points:

  • API Enhancements:
    • Added X-Custom-Api-Key header to generate endpoint in endpoints.tsp for custom API key support.
    • Updated create_or_update_session.py to return ResourceUpdatedResponse instead of ResourceCreatedResponse.
    • Changed UUID handling in multiple routers (e.g., create_agent.py, create_user.py) to use uuid.UUID instead of pydantic.UUID4.
  • Database and Query Changes:
    • Added LITELLM_SALT_KEY to .env.example for additional security.
    • Modified acompletion in litellm.py to support custom API keys.
    • Updated search_docs_by_embedding.py to use unique(snippet_data) instead of collect(snippet).
  • Docker and Environment:
    • Updated docker-compose.yml in llm-proxy to use litellm-database:main-v1.46.6 image.
    • Modified scheduler/docker-compose.yml to use environment variables for database configuration.
  • Miscellaneous:
    • Fixed typo in api.md ("overriden" to "overridden").
    • Added AssertionError handling in create_or_update_session.py and create_session.py for better error management.

Generated with ❤️ by ellipsis.dev

creatorrr and others added 20 commits September 17, 2024 14:44
Signed-off-by: Diwank Singh Tomer <[email protected]>
fix(agents-api): fix create_agent and create_or_update_agent query
fix(llm-proxy): Update docker image to main-v1.46.2
…t-endpoint

Add custom api key support to chat endpoint
overriden -> overridden
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to db6594f in 36 seconds

More details
  • Looked at 1574 lines of code in 63 files
  • Skipped 1 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. docs/js-sdk-docs/modules/api.md:202
  • Draft comment:
| `tools?` | [`Tool`](api.md#tool)[] \| ``null`` | (Advanced) List of tools that are provided in addition to agent's default set of tools. Functions of same name in agent set are overridden |
  • Reason this comment was not posted:
    Confidence changes required: 10%
    The word 'overridden' is misspelled as 'overriden'. This is a simple typo that should be corrected for clarity and professionalism.

Workflow ID: wflow_B6q2RVb89KsdjyfK


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@creatorrr creatorrr merged commit 00c8f03 into main Sep 19, 2024
9 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants