-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure openai assistans list interface parameter splicing error #794
Comments
@WhiteNightMo Could you please check if the unit tests cover your use case? #817 |
Thanks for the fix. For me, the if !containsSubstr([]string{
"/completions",
"/embeddings",
"/chat/completions",
"/audio/transcriptions",
"/audio/translations",
"/images/generations",
}, parseSuffix.Path) {
return fmt.Sprintf("%s/%s%s?%s", baseURL, azureAPIPrefix, parseSuffix.Path, query.Encode())
} |
I couldn't find any information about |
Environment:
Screenshots/Logs
Additional context
If the parameter contains paging information, the generated url will contain two question marks.
The output I printed:
The text was updated successfully, but these errors were encountered: