mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
add grok llm surpport
This commit is contained in:
parent
79e559c0a0
commit
c897d32414
1 changed files with 8 additions and 0 deletions
|
|
@ -314,6 +314,14 @@ LLM:
|
||||||
bot_id: "你的bot_id"
|
bot_id: "你的bot_id"
|
||||||
user_id: "你的user_id"
|
user_id: "你的user_id"
|
||||||
personal_access_token: 你的coze个人令牌
|
personal_access_token: 你的coze个人令牌
|
||||||
|
XaiLLM:
|
||||||
|
# 定义LLM API类型
|
||||||
|
type: Xai
|
||||||
|
# Xai API,需要先在xAI平台创建API密钥并获取api_key
|
||||||
|
api_key: 你的Xai web key
|
||||||
|
model_name: "grok-3-fast-beta"
|
||||||
|
base_url: "https://api.x.ai/v1"
|
||||||
|
max_tokens: 131072
|
||||||
LMStudioLLM:
|
LMStudioLLM:
|
||||||
# 定义LLM API类型
|
# 定义LLM API类型
|
||||||
type: openai
|
type: openai
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue