-
Notifications
You must be signed in to change notification settings - Fork 2k
Add GLM-4.7 Flash model to recommended models list for Z.ai provider #5214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
28a46d1
545af46
4d5298f
b54cf80
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@kilocode/types": patch | ||
| --- | ||
|
|
||
| Add GLM-4.7 Flash model to recommended models list for Z.ai provider |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -154,7 +154,25 @@ export const internationalZAiModels = { | |||||
| cacheReadsPrice: 0.11, | ||||||
| description: | ||||||
| "GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.", | ||||||
| preferredIndex: 1, | ||||||
| }, | ||||||
| // kilocode_change start | ||||||
| "glm-4.7-flash": { | ||||||
| maxTokens: 16_384, | ||||||
| contextWindow: 200_000, | ||||||
| supportsImages: false, | ||||||
| supportsPromptCache: true, | ||||||
| supportsNativeTools: true, | ||||||
| defaultToolProtocol: "native", | ||||||
| inputPrice: 0, | ||||||
| outputPrice: 0, | ||||||
| cacheWritesPrice: 0, | ||||||
| cacheReadsPrice: 0, | ||||||
| description: | ||||||
| "GLM-4.7-Flash is a free, high-speed model with built-in thinking capabilities, excellent for reasoning, coding, and agentic tasks.", | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SUGGESTION: Consider aligning reasoning metadata with
|
||||||
| preferredIndex: 2, | ||||||
| }, | ||||||
| // kilocode_change end | ||||||
| "glm-4-32b-0414-128k": { | ||||||
| maxTokens: 16_384, | ||||||
| contextWindow: 131_072, | ||||||
|
|
@@ -285,7 +303,25 @@ export const mainlandZAiModels = { | |||||
| cacheReadsPrice: 0.057, | ||||||
| description: | ||||||
| "GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.", | ||||||
| preferredIndex: 1, | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WARNING: Missing Same as the international list: this adds Kilo-specific metadata in an upstream-shared file without a
Suggested change
|
||||||
| }, | ||||||
| // kilocode_change start | ||||||
| "glm-4.7-flash": { | ||||||
| maxTokens: 16_384, | ||||||
| contextWindow: 204_800, | ||||||
| supportsImages: false, | ||||||
| supportsPromptCache: true, | ||||||
| supportsNativeTools: true, | ||||||
| defaultToolProtocol: "native", | ||||||
| inputPrice: 0, | ||||||
| outputPrice: 0, | ||||||
| cacheWritesPrice: 0, | ||||||
| cacheReadsPrice: 0, | ||||||
| description: | ||||||
| "GLM-4.7-Flash is a free, high-speed model with built-in thinking capabilities, excellent for reasoning, coding, and agentic tasks.", | ||||||
| preferredIndex: 2, | ||||||
| }, | ||||||
| // kilocode_change end | ||||||
| } as const satisfies Record<string, ModelInfo> | ||||||
|
|
||||||
| export const ZAI_DEFAULT_TEMPERATURE = 0.6 | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING: Missing
kilocode_changemarker for Kilo-specific changeThis updates upstream-shared model metadata without a
kilocode_changemarker. Adding a marker here helps reduce merge conflicts during upstream sync.