mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
feat(db): add LiteLLM_RoutingGroupTable to schema.prisma
This commit is contained in:
parent
121c633d6e
commit
ec484b18c6
2 changed files with 21 additions and 1 deletions
|
|
@ -16289,7 +16289,7 @@
|
|||
"cache_read_input_token_cost": 3e-08,
|
||||
"input_cost_per_audio_token": 1e-06,
|
||||
"input_cost_per_token": 3e-07,
|
||||
"litellm_provider": "vertex_ai-language-models",
|
||||
"litellm_provider": "gemini",
|
||||
"max_audio_length_hours": 8.4,
|
||||
"max_audio_per_prompt": 1,
|
||||
"supports_reasoning": false,
|
||||
|
|
|
|||
|
|
@ -1112,3 +1112,23 @@ model LiteLLM_ClaudeCodePluginTable {
|
|||
|
||||
@@map("LiteLLM_ClaudeCodePluginTable")
|
||||
}
|
||||
|
||||
// Routing Groups table for storing named routing pipelines
|
||||
model LiteLLM_RoutingGroupTable {
|
||||
routing_group_id String @id @default(uuid())
|
||||
routing_group_name String @unique
|
||||
description String?
|
||||
routing_strategy String
|
||||
deployments Json
|
||||
fallback_config Json? @default("{}")
|
||||
retry_config Json? @default("{}")
|
||||
cooldown_config Json? @default("{}")
|
||||
settings Json? @default("{}")
|
||||
assigned_team_ids String[] @default([])
|
||||
assigned_key_ids String[] @default([])
|
||||
is_active Boolean @default(true)
|
||||
created_at DateTime @default(now())
|
||||
created_by String
|
||||
updated_at DateTime @default(now()) @updatedAt
|
||||
updated_by String
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue