zai --> z-ai

This commit is contained in:
ProgrammerIn-wonderland
2026-05-01 13:38:50 -07:00
parent 8936f79716
commit 3d21a56ba0
@@ -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,