-
|
局域网访问都正常 CLAWX 连接不上ollama |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Ollama is working correctly on the LAN. I can successfully call it with: and it returns a valid response from gpt-oss:20b. The issue is not with Ollama itself, but with CLAWX/OpenClaw authentication. The agent fails before sending any request because it cannot find an API key for the configured providers:
It seems OpenClaw requires a provider configuration entry (even for local Ollama), otherwise it refuses to start the agent. Could you clarify the correct auth-profiles.json structure for using a local Ollama endpoint (e.g. http://192.168.9.111:11434/)? |
Beta Was this translation helpful? Give feedback.
-
|
ollama的 api key = ollama 就能正常调用了,要给一个默认的key
…________________________________
发件人: Steva ***@***.***>
发送时间: 2026年2月25日 17:16
收件人: ValueCell-ai/ClawX ***@***.***>
抄送: PIG-990 ***@***.***>; Author ***@***.***>
主题: Re: [ValueCell-ai/ClawX] ollama 本地部署 代理连接问题 (Discussion #165)
Ollama is working correctly on the LAN. I can successfully call it with:
curl -X POST http://192.168.9.111:11434/v1/chat/completions ...
and it returns a valid response from gpt-oss:20b.
The issue is not with Ollama itself, but with CLAWX/OpenClaw authentication. The agent fails before sending any request because it cannot find an API key for the configured providers:
* First it looks for anthropic
* Then it falls back to ollama
* Both fail due to missing entries in auth-profiles.json
It seems OpenClaw requires a provider configuration entry (even for local Ollama), otherwise it refuses to start the agent.
Could you clarify the correct auth-profiles.json structure for using a local Ollama endpoint (e.g. http://192.168.9.111:11434/)?
Is a dummy API key required?
―
Reply to this email directly, view it on GitHub<#165 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFSCWRTLIBR72KCWR6TR6KL4NVR7JAVCNFSM6AAAAACV7ACDQSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKOJSGEYDONQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
基础URL:http://192.168.9.111:11434/v1 |
Beta Was this translation helpful? Give feedback.
基础URL:http://192.168.9.111:11434/v1
模型ID:qwen3:30-a3b
apikey:ollama
这样就没问题了