File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
sdk/ai/azure-ai-projects/tests Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ def sanitize_url_paths():
103103 # Normalize Content-Type for CSV files in multipart form-data (varies by OS/Python version)
104104 add_general_string_sanitizer (target = "Content-Type: text/csv" , value = "Content-Type: application/vnd.ms-excel" )
105105
106+ # Normalize Content-Type for markdown files in multipart form-data (varies by OS/Python version)
107+ add_general_string_sanitizer (target = "Content-Type: application/octet-stream" , value = "Content-Type: text/markdown" )
108+
106109 # Sanitize API key from service response (this includes Application Insights connection string)
107110 add_body_key_sanitizer (json_path = "credentials.key" , value = "sanitized-api-key" )
108111
Original file line number Diff line number Diff line change @@ -165,8 +165,6 @@ def _get_tools_sample_paths():
165165 "sample_agent_browser_automation.py" ,
166166 "sample_agent_code_interpreter.py" ,
167167 "sample_agent_fabric.py" ,
168- "sample_agent_file_search.py" ,
169- "sample_agent_file_search_in_stream.py" ,
170168 "sample_agent_mcp_with_project_connection.py" ,
171169 "sample_agent_memory_search.py" ,
172170 "sample_agent_openapi_with_project_connection.py" ,
@@ -192,8 +190,6 @@ def _get_tools_sample_paths_async():
192190 # Skip async samples that are not yet ready for testing
193191 tools_samples_to_skip = [
194192 "sample_agent_code_interpreter_async.py" ,
195- "sample_agent_file_search_async.py" ,
196- "sample_agent_file_search_in_stream_async.py" ,
197193 "sample_agent_mcp_with_project_connection_async.py" ,
198194 "sample_agent_memory_search_async.py" ,
199195 ]
You can’t perform that action at this time.
0 commit comments