Closed liangsj closed 7 months ago
类似的错误
@liangsj, @lqshow openAI Model?
@liangsj, @lqshow openAI Model?
gpt-4
@lqshow Show your config by codegpt conflig list
@lqshow Show your config by
codegpt conflig list
@appleboy 有没什么我可以在本地尝试做的方向吗?
I tried the gpt-4
, gpt-4-1106-preview
and gpt-3.5-turbo
versions and all worked.
I can't reproduce the problem. Please update the codegpt version to v0.7.0
I have the same issue. The problem may due to the custom openai.base_url
.
@appleboy can you help with it?
Show your config
@appleboy
Key Value
git.diff_unified 5
git.exclude_list
git.template_file
git.template_string
openai.api_key ****************
openai.api_version
openai.base_url https://api.gptapi.us
openai.frequency_penalty <nil>
openai.headers
openai.max_tokens 1000
openai.model gpt-4
openai.model_name gpt-3.5-turbo
openai.org_id
openai.presence_penalty <nil>
openai.provider openai
openai.proxy
openai.skip_verify false
openai.socks
openai.temperature 1
openai.timeout 30s
openai.top_p <nil>
output.lang zh-cn
My custom openai.base_url
can work well in other GPT tools.
add v1 for your custom openai base_url
Summarize the commit message use gpt-3.5-turbo model We are trying to summarize a git diff Error: error, status code: 403, message: invalid character '<' looking for beginning of value