opencode: bump model to glm-5.2, add z.ai remote MCP servers
This commit is contained in:
+32
-3
@@ -12,11 +12,40 @@
|
||||
enableMcpIntegration = true;
|
||||
|
||||
settings = {
|
||||
#model = "github-copilot/gpt-5.2";
|
||||
model = "zai-coding-plan/glm-5.1";
|
||||
small_model = "zai-coding-plan/glm-5.1";
|
||||
model = "zai-coding-plan/glm-5.2";
|
||||
small_model = "zai-coding-plan/glm-5.2";
|
||||
autoshare = false;
|
||||
autoupdate = false;
|
||||
|
||||
mcp = {
|
||||
web-search-prime = {
|
||||
type = "remote";
|
||||
enabled = true;
|
||||
url = "https://api.z.ai/api/mcp/web_search_prime/mcp";
|
||||
headers = {
|
||||
Authorization = "Bearer {env:ZAI_API_KEY}";
|
||||
};
|
||||
};
|
||||
web-reader = {
|
||||
type = "remote";
|
||||
enabled = true;
|
||||
url = "https://api.z.ai/api/mcp/web_reader/mcp";
|
||||
headers = {
|
||||
Authorization = "Bearer {env:ZAI_API_KEY}";
|
||||
};
|
||||
};
|
||||
zread = {
|
||||
type = "remote";
|
||||
enabled = true;
|
||||
url = "https://api.z.ai/api/mcp/zread/mcp";
|
||||
headers = {
|
||||
Authorization = "Bearer {env:ZAI_API_KEY}";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
commands = {
|
||||
|
||||
Reference in New Issue
Block a user