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
ci(build_and_test): seed the routing strategy through /config/update
mateo-berri8005856411ae
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex df17a9e4402..87f1ee604cf 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -1785,6 +1785,12 @@ jobs:- wait_for_service:url: http://localhost:4000timeout: "300"+ - run:+ name: Seed the routing strategy through /config/update+ command: |+ curl --noproxy '*' -sSf -X POST http://localhost:4000/config/update \+ -H 'Authorization: Bearer sk-1234' -H 'Content-Type: application/json' \+ -d '{"router_settings": {"routing_strategy": "usage-based-routing-v2"}}'- run:name: Run testscommand: |diff --git a/proxy_server_config.yaml b/proxy_server_config.yamlindex 73990153227..703d56bc0cd 100644--- a/proxy_server_config.yaml+++ b/proxy_server_config.yaml@@ -213,7 +213,6 @@ files_settings:api_key: os.environ/OPENAI_API_KEYrouter_settings:- routing_strategy: usage-based-routing-v2redis_host: os.environ/REDIS_HOSTredis_password: os.environ/REDIS_PASSWORDredis_port: os.environ/REDIS_PORT