Skip to content

Commit 54e4bf8

Browse files
author
ops
committed
doc(config.py):modified parameters in config.py and added comments
1 parent e892c74 commit 54e4bf8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

config/config.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
model_programming_translate = "code-davinci-002"
77

88
# api 接口封装类
9-
llm_api_impl = "llm_api_default.LLMApiDefault"
9+
llm_api_impl = "llm_api.llm_api_default.LLMApiDefault"
1010

11-
# api 配置,参考LiteLLM文档:https://docs.litellm.ai/docs
11+
# api 配置默使用认UnionLLM,参考:https://github.com/EvalsOne/UnionLLM/tree/main/docs
12+
# UnionLLM兼容LiteLLM,参考LiteLLM文档:https://docs.litellm.ai/docs
1213
api_config = {
13-
"OPENAI_API_KEY": "Your OpenAI API Key",
14+
"OPENAI_API_KEY": "your openai key",
1415
"OPENAI_API_BASE": "https://api.openai.com/v1",
1516
"MODEL_NAME": model_gpt_4o,
17+
"PROVIDER": "openai",
1618
}
1719

1820
# 2. 提示词
@@ -41,7 +43,7 @@
4143

4244
# -------------Gitlab info------------------
4345
# Gitlab url
44-
gitlab_server_url = "https://gitlab.example.com"
46+
gitlab_server_url = "https://gitlab.com"
4547

4648
# Gitlab private token
4749
gitlab_private_token = "gitlab private token"

0 commit comments

Comments
 (0)