File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ async def get_agent(cls) -> dict:
3636 )
3737
3838 project_index = project_client .indexes .create_or_update (
39- name = f"project-index-{ azure_ai_search_index_name } -{ solution_name } " ,
39+ name = f"project-index-{ azure_ai_search_connection_name } -{ azure_ai_search_index_name } " ,
4040 version = "1" ,
4141 body = {
4242 "connectionName" : azure_ai_search_connection_name ,
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ async def test_get_agent_creates_new_instance(
2929 mock_config .azure_ai_search_connection_name = "fake-connection"
3030 mock_config .azure_ai_search_index = "fake-index"
3131 mock_config .azure_openai_deployment_model = "fake-model"
32- mock_config .solution_name = "fake-solution"
3332 mock_config_class .return_value = mock_config
3433
3534 # Mock project client
@@ -57,7 +56,7 @@ async def test_get_agent_creates_new_instance(
5756 assert result ["agent" ] == mock_agent
5857 assert result ["client" ] == mock_project_client
5958 mock_project_client .indexes .create_or_update .assert_called_once_with (
60- name = "project-index-fake-index -fake-solution " ,
59+ name = "project-index-fake-connection -fake-index " ,
6160 version = "1" ,
6261 body = {
6362 "connectionName" : "fake-connection" ,
You can’t perform that action at this time.
0 commit comments