update bigmodel to glm-4.6
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-10-31 16:52:38 +08:00
parent 68924a2c88
commit 49104d3aa6

View File

@@ -20,7 +20,7 @@ export function urlGoto(url: string) {
const API_KEY = env.ZHIPU_API_KEY; const API_KEY = env.ZHIPU_API_KEY;
export async function callZhipuAPI( export async function callZhipuAPI(
messages: { role: string; content: string }[], messages: { role: string; content: string }[],
model = "glm-4.5-flash", model = "glm-4.6",
) { ) {
const url = "https://open.bigmodel.cn/api/paas/v4/chat/completions"; const url = "https://open.bigmodel.cn/api/paas/v4/chat/completions";