Added Google Models

This commit is contained in:
2025-06-13 19:02:35 +09:00
parent 9440302b58
commit 6376f8f0e5
2 changed files with 4 additions and 1 deletions

View File

@@ -56,13 +56,14 @@
export const chatModels: Record<string, ModelDetail> = {};
for (const [key, { prompt, completion, max, reasoning }] of Object.entries(chatModelsJson)) {
for (const [key, { prompt, completion, max, reasoning, alias }] of Object.entries(chatModelsJson)) {
chatModels[key] = {
...chatModelBase,
prompt: prompt / 1_000_000,
completion: completion / 1_000_000,
max,
...(reasoning ? { reasoning } : {}),
...(alias ? { alias } : {}),
};
}