feat: integration of models.dev and proper handling of outpout tokens
This commit is contained in:
20
drizzle/0008_third_cable.sql
Normal file
20
drizzle/0008_third_cable.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
CREATE TABLE `model_catalog` (
|
||||
`id` text PRIMARY KEY NOT NULL,
|
||||
`name` text NOT NULL,
|
||||
`family` text,
|
||||
`context_window` integer,
|
||||
`max_input_tokens` integer,
|
||||
`max_output_tokens` integer,
|
||||
`input_price` real,
|
||||
`output_price` real,
|
||||
`cache_read_price` real,
|
||||
`supports_attachments` integer DEFAULT false,
|
||||
`supports_reasoning` integer DEFAULT false,
|
||||
`supports_tool_call` integer DEFAULT false,
|
||||
`updated_at` integer NOT NULL
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE TABLE `model_catalog_meta` (
|
||||
`key` text PRIMARY KEY NOT NULL,
|
||||
`value` text NOT NULL
|
||||
);
|
||||
1237
drizzle/meta/0008_snapshot.json
Normal file
1237
drizzle/meta/0008_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -57,6 +57,13 @@
|
||||
"when": 1772301340810,
|
||||
"tag": "0007_closed_sabretooth",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 8,
|
||||
"version": "6",
|
||||
"when": 1772369331600,
|
||||
"tag": "0008_third_cable",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user