mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 09:16:24 +02:00
feat: add provider arbitrage policy and fallback routing
This commit is contained in:
parent
de2d8847f3
commit
07ad4c6ae2
10 changed files with 670 additions and 57 deletions
|
|
@ -193,6 +193,22 @@ properties:
|
|||
required:
|
||||
- name
|
||||
- description
|
||||
arbitrage_policy:
|
||||
type: object
|
||||
properties:
|
||||
enabled:
|
||||
type: boolean
|
||||
rank:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
on_failure:
|
||||
type: object
|
||||
properties:
|
||||
fallback_to_primary:
|
||||
type: boolean
|
||||
additionalProperties: false
|
||||
additionalProperties: false
|
||||
additionalProperties: false
|
||||
required:
|
||||
- model
|
||||
|
|
@ -240,6 +256,22 @@ properties:
|
|||
required:
|
||||
- name
|
||||
- description
|
||||
arbitrage_policy:
|
||||
type: object
|
||||
properties:
|
||||
enabled:
|
||||
type: boolean
|
||||
rank:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
on_failure:
|
||||
type: object
|
||||
properties:
|
||||
fallback_to_primary:
|
||||
type: boolean
|
||||
additionalProperties: false
|
||||
additionalProperties: false
|
||||
additionalProperties: false
|
||||
required:
|
||||
- model
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue