Closed zybzzc closed 2 months ago
@zybzzc Regarding the first issue, the behavior you're observing is intentional. That's the right way to set it up.
For the second issue, I've added the OPENAI.topP
option. Please see this.
aicommit2 config set OPENAI.topP=0.1
Please update v2.0.3
@tak-bro Thank you! It works fine.
Bug description
There were two principal issues:
The DashScope API URL is
https://dashscope.aliyuncs.com/compatible-mode
. Simply replacing the OpenAI URL with this can cause the path to be lost. As a temporary fix, update both the base URL and the path:The DashsSope's OpenAI compatible mode API is not fully compatible with the OpenAI API; its
top_b
parameter requires a value within the range (0.0, 1.0), whereas aicommit2 uses 1 as the default value.aicommit2 version
v2.0.1
Environment
Can you contribute a fix?