The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge branch 'main' into litellm_exp_mcp_server
Ishaan Jaff08a4ba1b7e17
diff --cc .circleci/requirements.txtindex 5f09fa7f1fd,cada0f605e6..5dece1fc8b6--- a/.circleci/requirements.txt+++ b/.circleci/requirements.txt@@@ -4,10 -4,11 +4,11 @@@ python-dotentiktokenimportlib_metadatacohere- redis+ redis==5.2.1+ redisvl==0.4.1anthropicorjson==3.9.15-pydantic==2.7.1+pydantic==2.10.2google-cloud-aiplatform==1.43.0fastapi-sso==0.10.0uvloop==0.21.0diff --cc docker-compose.ymlindex d16ec6ed20b,d16ec6ed20b..1cab80ee4cc--- a/docker-compose.yml+++ b/docker-compose.yml@@@ -1,35 -1,35 +1,5 @@@version: "3.11"services:-- litellm:-- build:-- context: .-- args:-- target: runtime-- image: ghcr.io/berriai/litellm:main-stable-- #########################################-- ## Uncomment these lines to start proxy with a config.yaml file ##-- # volumes:-- # - ./config.yaml:/app/config.yaml <<- this is missing in the docker-compose file currently-- # command:-- # - "--config=/app/config.yaml"-- ##############################################-- ports:-- - "4000:4000" # Map the container port to the host, change the host port if necessary-- environment:-- DATABASE_URL: "postgresql://llmproxy:dbpassword9090@db:5432/litellm"-- STORE_MODEL_IN_DB: "True" # allows adding models to proxy via UI-- env_file:-- - .env # Load local .env file-- depends_on:-- - db # Indicates that this service depends on the 'db' service, ensuring 'db' starts first-- healthcheck: # Defines the health check configuration for the container-- test: [ "CMD", "curl", "-f", "http://localhost:4000/health/liveliness || exit 1" ] # Command to execute for health check-- interval: 30s # Perform health check every 30 seconds-- timeout: 10s # Health check command times out after 10 seconds-- retries: 3 # Retry up to 3 times if health check fails-- start_period: 40s # Wait 40 seconds after container start before beginning health checks----db:image: postgres:16restart: always@@@ -46,25 -46,25 +16,3 @@@interval: 1stimeout: 5sretries: 10---- prometheus:-- image: prom/prometheus-- volumes:-- - prometheus_data:/prometheus-- - ./prometheus.yml:/etc/prometheus/prometheus.yml-- ports:-- - "9090:9090"-- command:-- - '--config.file=/etc/prometheus/prometheus.yml'-- - '--storage.tsdb.path=/prometheus'-- - '--storage.tsdb.retention.time=15d'-- restart: always----volumes:-- prometheus_data:-- driver: local-- postgres_data:-- name: litellm_postgres_data # Named volume for Postgres data persistence------# ...rest of your docker-compose config if anydiff --cc poetry.lockindex b01fdc74804,fc2b4743bf0..9273f91accc--- a/poetry.lock+++ b/poetry.lock@@@ -3985,4 -4004,4 +4005,4 @@@ proxy = ["PyJWT", "apscheduler", "backo[metadata]lock-version = "2.1"python-versions = ">=3.8.1,<4.0, !=3.9.7"- content-hash = "f7c21b3d659e4a15cd46bb42fb905ad039028f4f6b82507fd1278ac05c412569"-content-hash = "6850286db1cedd6507c4688767fde27c2f8cc8e657a0a0d792656664eec63d5d"++content-hash = "9c863b11189227a035a9130c8872de44fe7c5e1e32b47569a56af86e3f6570c5"