mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Add agent_id to ToolTable in all schema files and generate migration
- Update schema.prisma (root) with agent_id field on LiteLLM_ToolTable - Update litellm-proxy-extras schema.prisma with agent_id field - Generate migration via ci_cd/run_migration.py: adds agent_id column Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
This commit is contained in:
parent
67b6ca164e
commit
8cb026bf12
3 changed files with 8 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN "spec_path" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "LiteLLM_ToolTable" ADD COLUMN "agent_id" TEXT;
|
||||
|
||||
|
|
@ -1090,6 +1090,7 @@ model LiteLLM_ToolTable {
|
|||
team_id String? // team that first called this tool
|
||||
key_alias String? // human-readable alias of the virtual key
|
||||
user_agent String? // user-agent of the first request that discovered this tool
|
||||
agent_id String? // agent that first triggered this tool call
|
||||
last_used_at DateTime? // timestamp of the most recent call
|
||||
created_at DateTime @default(now())
|
||||
created_by String?
|
||||
|
|
|
|||
|
|
@ -1090,6 +1090,7 @@ model LiteLLM_ToolTable {
|
|||
team_id String? // team that first called this tool
|
||||
key_alias String? // human-readable alias of the virtual key
|
||||
user_agent String? // user-agent of the first request that discovered this tool
|
||||
agent_id String? // agent that first triggered this tool call
|
||||
last_used_at DateTime? // timestamp of the most recent call
|
||||
created_at DateTime @default(now())
|
||||
created_by String?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue