SameerMesiah97 opened a new pull request, #69731: URL: https://github.com/apache/airflow/pull/69731
**Description** This change fixes the `SnowflakeCortexAgentHook` by explicitly setting `stream=False` when invoking the Cortex Agent API, ensuring the hook receives a JSON response. **Rationale** The Cortex Agent API returns a Server-Sent Events (SSE) stream by default. Since the hook expects a JSON response, explicitly disabling streaming restores the expected behaviour. **Tests** Updated the unit tests to verify that `stream=False` is included in all Cortex Agent requests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
