Skip to content

Commit f6ed4d6

Browse files
committed
Set query_type to 'simple' in FoundryAgentTemplate
Replaces the variable query_type with the string 'simple' when constructing the index query payload. This change ensures that the query type is always set to 'simple' for this operation.
1 parent 36dea58 commit f6ed4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/v4/magentic_agents/foundry_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def _create_azure_search_enabled_client(self):
178178
{
179179
"index_connection_id": resolved_connection_id,
180180
"index_name": index_name,
181-
"query_type": query_type,
181+
"query_type": "simple",
182182
}
183183
]
184184
}

0 commit comments

Comments
 (0)