fix: 修正思考模型名称为glm-z1-flash

This commit is contained in:
2026-04-26 11:29:40 +08:00
parent 2285755b34
commit 5a6c0c41b3
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ const CONFIG = {
apiUrl: 'https://open.bigmodel.cn/api/paas/v4/chat/completions', apiUrl: 'https://open.bigmodel.cn/api/paas/v4/chat/completions',
apiKey: '2259e33a1357460abe17919aaf81e73d.K44a8LPQTmFM5PKm', apiKey: '2259e33a1357460abe17919aaf81e73d.K44a8LPQTmFM5PKm',
model: 'glm-4.5-air', model: 'glm-4.5-air',
thinkingModel: 'glm-4-flash-thinking', // 思考模型 thinkingModel: 'glm-z1-flash', // 智谱思考模型
maxTokens: 2048 maxTokens: 2048
}; };

View File

@@ -8,12 +8,12 @@
<meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0"> <meta http-equiv="Expires" content="0">
<title>AI助手</title> <title>AI助手</title>
<link rel="stylesheet" href="style.css?v=2.2.0"> <link rel="stylesheet" href="style.css?v=2.2.1">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script src="marked.min.js?v=2.2.0"></script> <script src="marked.min.js?v=2.2.1"></script>
<script src="app.js?v=2.2.0"></script> <script src="app.js?v=2.2.1"></script>
</body> </body>
</html> </html>