Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sdk/ai/azure-ai-projects/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ AZURE_AI_PROJECTS_TESTS_PROJECT_ENDPOINT=

# Used in Agent tests
AZURE_AI_PROJECTS_TESTS_AGENTS_PROJECT_ENDPOINT=
AZURE_AI_PROJECTS_TESTS_AGENTS_MODEL_DEPLOYMENT_NAME=
AZURE_AI_PROJECTS_TESTS_AGENTS_IMAGE_MODEL_DEPLOYMENT_NAME=

# Used in tracing tests
AZURE_AI_PROJECTS_TESTS_TRACING_PROJECT_ENDPOINT=
Expand Down
5 changes: 3 additions & 2 deletions sdk/ai/azure-ai-projects/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
import os
import random
import re
import functools
Expand Down Expand Up @@ -84,12 +85,12 @@ class TestBase(AzureRecordedTestCase):
}

test_agents_params = {
"model_deployment_name": "gpt-4o",
"model_deployment_name": os.environ.get("AZURE_AI_PROJECTS_TESTS_AGENTS_MODEL_DEPLOYMENT_NAME") or "gpt-4o",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dargilco I am wondering whether there is some extra work with the service preparer that I will need to do in this area once we have working recordings for these tests? Since we dont have working recordings today it was hard for me to be sure.

"agent_name": "agent-for-python-projects-sdk-testing",
}

test_agents_tools_params = {
"image_generation_model_deployment_name": "gpt-image-1-mini",
"image_generation_model_deployment_name": os.environ.get("AZURE_AI_PROJECTS_TESTS_AGENTS_IMAGE_MODEL_DEPLOYMENT_NAME") or "gpt-image-1-mini",
}

test_inference_params = {
Expand Down