File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 66model_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
1213api_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. 提示词
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
4749gitlab_private_token = "gitlab private token"
You can’t perform that action at this time.
0 commit comments