Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
community[patch]: Fix
tool_calls
parsing when streaming from DeepIn…
…fra (#26813) - **Description:** This PR fixes the response parsing logic for `ChatDeepInfra`, more specifially `_convert_delta_to_message_chunk()`, which is invoked when streaming via `ChatDeepInfra`. - **Issue:** Streaming from DeepInfra via `ChatDeepInfra` is currently broken because the response parsing logic doesn't handle that `tool_calls` can be `None`. (There is no GitHub issue for this problem yet.) - **Dependencies:** – - **Twitter handle:** – Keeping this here as a reminder: > If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.
- Loading branch information