You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
two ways:
1、convert url with nginx
2、change sdk: the OpenaiApi in the sdk @post("/v1/chat/completions") should change to: @post("v1/chat/completions")
delete the / at the beginning.
Since the ownner of this rep didn't maintain this for a long time, you can use the first method.
or you can use my rep :) @h928725721
The latest code in the repository supports your requirements, and the API endpoint no longer contains the symbol '/v1'. You can check the specific content of its code repository
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hello:
my base url is https://host/chat/api
when I used openAiService to request my chat project, the url would be replaced with https://host/v1/chat/completions.
but I wish the result is https://host/chat/api/v1/chat/completions
how should I do ?
the maven version is 0.17.0
The text was updated successfully, but these errors were encountered: