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
|
|
@ -411,10 +411,27 @@ properties:
|
|||
routing:
|
||||
type: object
|
||||
properties:
|
||||
model_provider:
|
||||
type: string
|
||||
llm_provider:
|
||||
type: string
|
||||
model:
|
||||
type: string
|
||||
policy_provider:
|
||||
type: object
|
||||
properties:
|
||||
url:
|
||||
type: string
|
||||
headers:
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: string
|
||||
ttl_seconds:
|
||||
type: integer
|
||||
minimum: 1
|
||||
additionalProperties: false
|
||||
required:
|
||||
- url
|
||||
additionalProperties: false
|
||||
state_storage:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue