File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ AZURE_AI_PROJECTS_TESTS_PROJECT_ENDPOINT=
5050
5151# Used in Agent tests
5252AZURE_AI_PROJECTS_TESTS_AGENTS_PROJECT_ENDPOINT =
53+ AZURE_AI_PROJECTS_TESTS_AGENTS_MODEL_DEPLOYMENT_NAME =
54+ AZURE_AI_PROJECTS_TESTS_AGENTS_IMAGE_MODEL_DEPLOYMENT_NAME =
5355
5456# Used in tracing tests
5557AZURE_AI_PROJECTS_TESTS_TRACING_PROJECT_ENDPOINT =
Original file line number Diff line number Diff line change 33# Copyright (c) Microsoft Corporation.
44# Licensed under the MIT License.
55# ------------------------------------
6+ import os
67import random
78import re
89import functools
@@ -84,12 +85,12 @@ class TestBase(AzureRecordedTestCase):
8485 }
8586
8687 test_agents_params = {
87- "model_deployment_name" : "gpt-4o" ,
88+ "model_deployment_name" : os . environ . get ( "AZURE_AI_PROJECTS_TESTS_AGENTS_MODEL_DEPLOYMENT_NAME" ) or "gpt-4o" ,
8889 "agent_name" : "agent-for-python-projects-sdk-testing" ,
8990 }
9091
9192 test_agents_tools_params = {
92- "image_generation_model_deployment_name" : "gpt-image-1-mini" ,
93+ "image_generation_model_deployment_name" : os . environ . get ( "AZURE_AI_PROJECTS_TESTS_AGENTS_IMAGE_MODEL_DEPLOYMENT_NAME" ) or "gpt-image-1-mini" ,
9394 }
9495
9596 test_inference_params = {
You can’t perform that action at this time.
0 commit comments