mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 23:56:07 +00:00
test: sequence zai model ids
This commit is contained in:
@@ -10,11 +10,21 @@ describe("zai onboard", () => {
|
||||
expect(cfg.models?.providers?.zai?.baseUrl).toBe(ZAI_GLOBAL_BASE_URL);
|
||||
expect(cfg.models?.providers?.zai?.api).toBe("openai-completions");
|
||||
const ids = cfg.models?.providers?.zai?.models?.map((m) => m.id);
|
||||
expect(ids).toContain("glm-5");
|
||||
expect(ids).toContain("glm-5-turbo");
|
||||
expect(ids).toContain("glm-4.7");
|
||||
expect(ids).toContain("glm-4.7-flash");
|
||||
expect(ids).toContain("glm-4.7-flashx");
|
||||
expect(ids).toEqual([
|
||||
"glm-5.1",
|
||||
"glm-5",
|
||||
"glm-5-turbo",
|
||||
"glm-5v-turbo",
|
||||
"glm-4.7",
|
||||
"glm-4.7-flash",
|
||||
"glm-4.7-flashx",
|
||||
"glm-4.6",
|
||||
"glm-4.6v",
|
||||
"glm-4.5",
|
||||
"glm-4.5-air",
|
||||
"glm-4.5-flash",
|
||||
"glm-4.5v",
|
||||
]);
|
||||
});
|
||||
|
||||
it("supports CN endpoint for supported coding models", () => {
|
||||
|
||||
Reference in New Issue
Block a user