mirror of
https://github.com/czl9707/build-your-own-openclaw.git
synced 2026-08-14 08:52:29 +00:00
* docs: add MiniMax as an LLM provider option Add MiniMax configuration examples to config.example.yaml and README.md. MiniMax offers OpenAI-compatible API with 204K context window, accessible via LiteLLM's openai/ prefix with custom api_base. * update README.md --------- Co-authored-by: PR Bot <pr-bot@minimaxi.com> Co-authored-by: zane <czl970721@gmail.com>
28 lines
823 B
YAML
28 lines
823 B
YAML
# LLM provider configuration, follow https://docs.litellm.ai/docs/providers for your own provider config
|
|
llm:
|
|
provider: openai # Options: openai, anthropic, minimax, etc.
|
|
model: gpt-4 # Model to use for generation, follow litellm model field
|
|
api_key: sk-your-openai-api-key-here # WARNING: Replace with your actual key, never commit real keys!
|
|
api_base: null # Optional: Custom API endpoint (http:// or https://)
|
|
temperature: 0.7
|
|
max_tokens: 2048
|
|
|
|
default_agent: pickle
|
|
|
|
# Get your API key at https://brave.com/search/api/
|
|
# websearch:
|
|
# provider: brave
|
|
# api_key: your-brave-search-api-key
|
|
|
|
# webread:
|
|
# provider: crawl4ai
|
|
|
|
# api: {}
|
|
|
|
# channels:
|
|
# enabled: true
|
|
# telegram:
|
|
# bot_token: your-bot-token
|
|
# allowed_user_ids:
|
|
# - "your_user_id"
|