Remove OpenAI, use z.ai for OpenClaw
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1748360922
commit
1d11816a55
2 changed files with 6 additions and 16 deletions
|
|
@ -25,7 +25,7 @@
|
|||
"agents": {
|
||||
"defaults": {
|
||||
"model": {
|
||||
"primary": "openai/gemini-3.1-pro-high"
|
||||
"primary": "zai/gemini-2.5-pro"
|
||||
},
|
||||
"memorySearch": {
|
||||
"provider": "openai",
|
||||
|
|
@ -54,22 +54,14 @@
|
|||
"models": {
|
||||
"mode": "merge",
|
||||
"providers": {
|
||||
"openai": {
|
||||
"baseUrl": "http://localhost:8045/v1/chat/completions",
|
||||
"apiKey": "${OPENAI_API_KEY}",
|
||||
"zai": {
|
||||
"baseUrl": "https://api.z.ai/v1",
|
||||
"apiKey": "${ZAI_API_KEY}",
|
||||
"api": "openai",
|
||||
"models": [
|
||||
{
|
||||
"id": "gemini-3.1-pro-high",
|
||||
"name": "Gemini 3.1 Pro High",
|
||||
"reasoning": true,
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536
|
||||
},
|
||||
{
|
||||
"id": "claude-opus-4-6-thinking",
|
||||
"name": "Claude Opus 4.6 Thinking",
|
||||
"reasoning": true,
|
||||
"id": "gemini-2.5-pro",
|
||||
"name": "Gemini 2.5 Pro",
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue