-
Notifications
You must be signed in to change notification settings - Fork 195
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
Config behavior changed since v1.3.6? #95
Comments
Checking https://github.com/stulzq/azure-openai-proxy/releases/tag/v1.3.6, maybe this is related?
|
My azure-openai:
image: stulzq/azure-openai-proxy:v1.3.5
ports:
- 8080:8080
environment:
AZURE_OPENAI_ENDPOINT: https://<aoai-deployment>.openai.azure.com/ |
After tracing the code, it seems err := azure.Init()
if err != nil {
panic(err)
} |
As if endpoint != "" && openaiModelMapper != "" { https://github.com/stulzq/azure-openai-proxy/blob/v1.3.8/azure/init.go#L34-L43 |
Modify the initialization condition in `azure/init.go` to allow the `openaiModelMapper` environment variable to be optional. This change facilitates configurations where the model mapper is not needed, and improving flexibility. Resolves: stulzq#95
Modify the initialization condition in `azure/init.go` to allow the `openaiModelMapper` environment variable to be optional. This change facilitates configurations where the model mapper is not needed, and improving flexibility. Resolves: #95
I only get this error since v1.3.6, v1.3.5 works fine with the same configuration from the environment variable:
The text was updated successfully, but these errors were encountered: