feat: integration of models.dev and proper handling of outpout tokens
This commit is contained in:
1 parent
6891613943
commit
1dd520f770
18 files changed
+2101
-14
No files matched your search
@@ -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
|
||||
);
|
||||
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