Yaml. File not working with OpenAI on Azure and Agents #6902
LuHKaeNMS
started this conversation in
Help Wanted
Replies: 1 comment
-
anyone out there who can help ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey There, i am really going crazy by finding and trying out the right yaml configuration for me.
We deployed our openai models on azure and once i am adding groups in the yaml file exact as described i receive an error. also i don't understand why the below first approach without grups and an base url is working ;-)
Here my working file:
version: 1.2.1
interface:
modelSelect: true
endpointsMenu: true
endpoints:
azureOpenAI:
type: azure
default: true
default_model: gpt-4-turbo
titleModel: gpt-4
groups:
- group: default
apiKey: ${AZURE_OPENAI_KEY}
instanceName: openai-NAME
version: 2025-01-01-preview
models:
gpt-4:
deploymentName: gpt-4-turbo
gpt-4.5-preview:
deploymentName: gpt-4.5-preview
gpt-4o-mini:
deploymentName: gpt-4o-mini
o1:
deploymentName: o1
o1-mini:
deploymentName: o1-mini
once i make the changes one to one like in the instructions suddenly ALL openAI Models appear and the logstream logs tells my there would be no API KEy and no Chat Model is working.
Here is where i am getting an error and i have no clue why:
version: 1.2.1
interface:
endpointsMenu: true
modelSelect: true
azureOpenAI:
# Endpoint-level configuration
titleModel: "current_model"
assistants: false
summarize: true
groups:
# Group-level configuration
- group: "RG_NMS_librechat"
apiKey: "${AZURE_OPENAI_KEY}"
instanceName: "openai-NAME"
deploymentName: gpt-4-turbo
# The deployment name is used for the default model in the group
# and can be overridden in the model-level configuration below.
version: "2025-01-01-preview"
baseURL: "https://NAME.openai.azure.com/"
# Model-level configuration
models:
gpt-4:
deploymentName: gpt-4-turbo
version: "turbo-2024-04-09"
gpt-4.5-preview:
deploymentName: gpt-4.5-preview
version: "2025-02-27"
gpt-4o-mini:
deploymentName: gpt-4o-mini
version: "2024-07-18"
o1:
deploymentName: o1
version: "2024-12-17"
o1-mini:
deploymentName: o1-mini
version: "2024-09-12"
Can anyone help me here please ?!
Beta Was this translation helpful? Give feedback.
All reactions