zai --> z-ai (#2878)

This commit is contained in:
ProgrammerIn-wonderland
2026-05-01 13:39:25 -07:00
committed by GitHub
parent 8936f79716
commit b70aabdeae
@@ -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,