support openai format api
This commit is contained in:
@@ -2,11 +2,13 @@ meta:
|
||||
version: "1.0.9"
|
||||
|
||||
llm:
|
||||
# 填入litellm支持的model name和key
|
||||
key: "your-api-key" # 目前需要的是阿里的qwen api。如果用别家的,需要对应修改下面的base_url。
|
||||
# 目前默认用的是阿里的千问大模型 api。
|
||||
# 如果你想用别家的,需要对应修改下面的base_url为对应的模型。
|
||||
# 填入对应的密钥,并且修改model_name和fast_model_name为对应的模型。
|
||||
key: "你的密钥"
|
||||
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
||||
model_name: "openai/qwen-plus"
|
||||
fast_model_name: "openai/qwen-flash"
|
||||
model_name: "openai/qwen-plus" # 聪明的模型,负责难的任务
|
||||
fast_model_name: "openai/qwen-flash" # 快速的模型,负责简单的任务
|
||||
default_modes:
|
||||
action_decision: "normal"
|
||||
long_term_objective: "normal"
|
||||
|
||||
Reference in New Issue
Block a user