MetaGPT
MetaGPT copied to clipboard
Ollama运行报错
Bug description
Bug solved method
Environment information
- LLM type and model name: Ollama, llama2
- System version: mac os 13.1
- Python version: 3.11.8
# Full Example: https://github.com/geekan/MetaGPT/blob/main/config/config2.example.yaml
# Reflected Code: https://github.com/geekan/MetaGPT/blob/main/metagpt/config2.py
llm:
api_type: ollama
base_url: 'http://127.0.0.1:11434/api'
model: 'llama2'
api_key
is required
I have the same issue, what is the api_key for ollama?
api_key: "ollama" can pass