julep-ai / julep

Build AI agents and workflows with a simple API. Supabase for AI agents
https://julep.ai
Apache License 2.0
883 stars 69 forks source link

dev -> main #514

Closed creatorrr closed 1 week ago

creatorrr commented 1 week ago

[!IMPORTANT] Major update integrating litellm for embeddings, refining environment configurations, enhancing API endpoints, and updating Docker setups across services.

  • Embedding Service Integration:
    • Replaced embed client with litellm in embed_docs.py, gather_messages.py, and embed.py.
    • Removed embed.py and updated litellm.py to include aembedding() function.
  • Environment Configuration:
    • Removed EMBEDDING_SERVICE_BASE from .env.example and env.py.
    • Added embedding_dimensions to env.py.
  • Docker and Deployment:
    • Updated docker-compose.yml files across multiple services to refine service dependencies and environment variables.
    • Added restart: unless-stopped to several services for better resilience.
  • API Enhancements:
    • Updated API endpoints for agents, sessions, tasks, and users in routers directory.
    • Added or modified endpoints for creating, updating, deleting, and listing resources.
  • Testing:
    • Updated test_chat_routes.py to reflect changes in embedding service and API endpoints.
  • Miscellaneous:
    • Updated pyproject.toml to bump litellm version to ^1.46.7.
    • Added .gitignore for certificate files in scheduler/cert/.

This description was created by Ellipsis for 8b2bd5453d08d47fc15b9c6f10630c0186c4d5bd. It will automatically update as commits are pushed.