Feat: Add z.ai usage tracking

This commit is contained in:
eclipxe
2026-01-20 14:34:15 -08:00
committed by gsxdsm
parent 1662c6bf0b
commit 7765a12868
23 changed files with 1331 additions and 55 deletions

View File

@@ -1287,6 +1287,8 @@ export interface Credentials {
google: string;
/** OpenAI API key (for compatibility or alternative providers) */
openai: string;
/** z.ai API key (for GLM models and usage tracking) */
zai: string;
};
}
@@ -1615,6 +1617,7 @@ export const DEFAULT_CREDENTIALS: Credentials = {
anthropic: '',
google: '',
openai: '',
zai: '',
},
};