Skip to content

Commit d0e7e74

Browse files
authored
Document OPENAI_DEFAULT_MODEL requirement
1 parent 96a6495 commit d0e7e74

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/openai_agents/getting-started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Update `local.settings.json` with your service configuration:
138138
"FUNCTIONS_WORKER_RUNTIME": "python",
139139
"AZURE_OPENAI_ENDPOINT": "https://<resource-name>.openai.azure.com/",
140140
"AZURE_OPENAI_DEPLOYMENT": "<deployment-name>",
141+
"OPENAI_DEFAULT_MODEL": "<deployment-name>",
141142
"AZURE_OPENAI_API_VERSION": "2024-10-01-preview",
142143
"DURABLE_TASK_SCHEDULER_CONNECTION_STRING": "Endpoint=http://localhost:8080;Authentication=None;",
143144
"TASKHUB": "default"

samples-v2/openai_agents/local.settings.json.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"FUNCTIONS_WORKER_RUNTIME": "python",
66
"AZURE_OPENAI_ENDPOINT": "https://your-openai-service.openai.azure.com/",
77
"AZURE_OPENAI_DEPLOYMENT": "your-gpt-deployment-name",
8+
"OPENAI_DEFAULT_MODEL": "deployment-name",
89
"AZURE_OPENAI_API_VERSION": "2025-03-01-preview",
910
"DURABLE_TASK_SCHEDULER_CONNECTION_STRING": "Endpoint=http://localhost:8080;Authentication=None;",
1011
"TASKHUB": "default"

0 commit comments

Comments
 (0)