Add GLM-5 to Z.AI model list (#5138)
* Initial plan * Add glm-5 to Z.AI model list with 200k context Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
@@ -3865,6 +3865,7 @@
|
||||
</select>
|
||||
<h4 data-i18n="Z.AI Model">Z.AI Model</h4>
|
||||
<select id="model_zai_select">
|
||||
<option value="glm-5">glm-5</option>
|
||||
<option value="glm-4.7">glm-4.7</option>
|
||||
<option value="glm-4.7-flash">glm-4.7-flash</option>
|
||||
<option value="glm-4.7-flashx">glm-4.7-flashx</option>
|
||||
|
||||
@@ -4821,6 +4821,7 @@ function getZaiMaxContext(model, isUnlocked) {
|
||||
}
|
||||
|
||||
const contextMap = {
|
||||
'glm-5': max_200k,
|
||||
'glm-4.7': max_200k,
|
||||
'glm-4.7-flash': max_200k,
|
||||
'glm-4.7-flashx': max_200k,
|
||||
|
||||
Reference in New Issue
Block a user