Skip to content

Commit 4238d83

Browse files
committed
[ai/llmchat]更新kconfig配置
1 parent 48eec70 commit 4238d83

File tree

1 file changed

+39
-8
lines changed

1 file changed

+39
-8
lines changed

ai/llmchat/Kconfig

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,21 @@ if PKG_USING_LLMCHAT
1919
prompt "select llm model"
2020
default PKG_LLM_USING_QWEN_CLOUD
2121
config PKG_LLM_USING_DOUBAO_CLOUD
22-
bool "doubao llm ai port"
22+
bool "doubao llm port"
2323
config PKG_LLM_USING_QWEN_CLOUD
24-
bool "qwen llm ai port"
24+
bool "qwen llm port"
25+
config PKG_LLM_USING_DEEPSEEK_CLOUD
26+
bool "deepseek llm port"
2527
endchoice
2628

2729
if PKG_LLM_USING_QWEN_CLOUD
28-
config PKG_LLM_QWEN_API_KEY
30+
config PKG_LLM_API_KEY
2931
string "llm qwen user api key"
3032
default "sk-**-**"
3133
help
3234
qwen llm api key
3335

34-
config PKG_LLM_QWEN_MODEL_NAME
36+
config PKG_LLM_MODEL_NAME
3537
string "llm qwen model name"
3638
default "qwen-plus"
3739
help
@@ -41,17 +43,18 @@ if PKG_USING_LLMCHAT
4143
string "llm qwen model api url"
4244
default "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"
4345
help
44-
qwen llm model api url links
46+
Qwen model API URL. Please set this to:
47+
"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"
4548
endif
4649

4750
if PKG_LLM_USING_DOUBAO_CLOUD
48-
config PKG_LLM_DOUBAO_API_KEY
51+
config PKG_LLM_API_KEY
4952
string "llm doubao user api key"
5053
default "f4de4d**-**"
5154
help
5255
doubao llm api key
5356

54-
config PKG_LLM_DOUBAO_MODEL_ID
57+
config PKG_LLM_MODEL_NAME
5558
string "llm doubao user model id"
5659
default "ep-2024**-**"
5760
help
@@ -61,9 +64,37 @@ if PKG_USING_LLMCHAT
6164
string "llm doubao model api url"
6265
default "https://ark.cn-beijing.volces.com/api/v3/chat/completions"
6366
help
64-
doubao llm model api url links
67+
Doubao model API URL. Please set this to:
68+
"https://ark.cn-beijing.volces.com/api/v3/chat/completions"
6569
endif
6670

71+
if PKG_LLM_USING_DEEPSEEK_CLOUD
72+
config PKG_LLM_API_KEY
73+
string "llm deepseek user api key"
74+
default "f4de4d**-**"
75+
help
76+
deepseek llm api key
77+
78+
config PKG_LLM_MODEL_NAME
79+
string "llm deepseek user model id"
80+
default "deepseek-chat"
81+
help
82+
deepseek llm model name
83+
84+
config PKG_LLM_DEEPSEEK_API_URL
85+
string "llm deepseek model api url"
86+
default "https://api.deepseek.com/chat/completions"
87+
help
88+
DeepSeek model API URL. Please set this to:
89+
"https://api.deepseek.com/chat/completions"
90+
endif
91+
92+
config PKG_WEB_SORKET_BUFSZ
93+
int "webclient session buffer size"
94+
default 2048
95+
help
96+
webclient session buffer size
97+
6798
choice
6899
prompt "Version"
69100
default PKG_USING_LLMCHAT_V10000

0 commit comments

Comments
 (0)