mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-03 08:00:32 +00:00
zai --> z-ai
This commit is contained in:
@@ -22,10 +22,10 @@ const textModel = (
|
||||
maxTokens: number,
|
||||
costs: IChatModel['costs'],
|
||||
): IChatModel => ({
|
||||
puterId: `zai:zai/${id}`,
|
||||
puterId: `z-ai:z-ai/${id}`,
|
||||
id,
|
||||
name,
|
||||
aliases: [`zai/${id}`],
|
||||
aliases: [`z-ai/${id}`, `zai/${id}`],
|
||||
modalities: { input: ['text'], output: ['text'] },
|
||||
open_weights: false,
|
||||
tool_call: true,
|
||||
@@ -44,10 +44,10 @@ const visionModel = (
|
||||
maxTokens: number,
|
||||
costs: IChatModel['costs'],
|
||||
): IChatModel => ({
|
||||
puterId: `zai:zai/${id}`,
|
||||
puterId: `z-ai:zai/${id}`,
|
||||
id,
|
||||
name,
|
||||
aliases: [`zai/${id}`],
|
||||
aliases: [`z-ai/${id}`, `zai/${id}`],
|
||||
modalities: { input: ['text', 'image', 'video', 'file'], output: ['text'] },
|
||||
open_weights: false,
|
||||
tool_call: true,
|
||||
|
||||
Reference in New Issue
Block a user