Files
langchain/libs/partners
nikitajoyn 9fcd203556 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:** https://github.com/langchain-ai/langchain/issues/27886
  - **Dependencies:**
  - **Twitter handle:**
2024-12-09 14:14:58 -05:00
..
2024-11-07 10:19:22 -08:00
2024-11-01 20:35:55 +00:00
2024-11-01 20:35:55 +00:00
2024-11-01 20:35:55 +00:00