OpenManus: 连ollama本地LLM,app.llm:ask_tool:260 - API error: Connection error.

 

编辑 config/config.toml 中的 llm 部分,如下设置:

# Global LLM configuration
[llm]
model = "qwen2.5:1.5b"
base_url = "http://localhost:11434/v1"
api_key = "ollama"
max_tokens = 4096
temperature = 0.0

 

Link:https://www.cnblogs.com/farwish/p/18770614

posted on 2025-03-13 18:46  ercom  阅读(376)  评论(0)    收藏  举报