mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
feat: routing configuration with external policy provider support
This commit is contained in:
parent
5aeb69e034
commit
2c643532ef
4 changed files with 123 additions and 0 deletions
|
|
@ -47,6 +47,18 @@ model_aliases:
|
|||
smart-llm:
|
||||
target: gpt-4o
|
||||
|
||||
# Optional routing policy provider for multitenant preference-based routing.
|
||||
# If policy_id is included in the request and inline routing_policy is absent,
|
||||
# Plano fetches routing preferences from this endpoint and caches by policy_id.
|
||||
routing:
|
||||
model_provider: arch-router
|
||||
model: Arch-Router
|
||||
policy_provider:
|
||||
url: https://my-service.internal/v1/routing-policy
|
||||
headers:
|
||||
Authorization: Bearer $POLICY_API_KEY
|
||||
ttl_seconds: 300
|
||||
|
||||
# HTTP listeners - entry points for agent routing, prompt targets, and direct LLM access
|
||||
listeners:
|
||||
# Agent listener for routing requests to multiple agents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue