Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partners/mistralai: Fix KeyError in Vertex AI stream (#28624)
- **Description:** Streaming response from Mistral model using Vertex AI raises KeyError when trying to access `choices` key, that the last chunk doesn't have. The fix is to access the key safely using `get()`. - **Issue:** #27886 - **Dependencies:** - **Twitter handle:**
- Loading branch information