mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix issue when databrick use external model, the delta could be empty content (#10540)
This commit is contained in:
parent
5f47df4627
commit
0184fddbb7
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ class DatabricksChatResponseIterator(BaseModelResponseIterator):
|
|||
reasoning_content,
|
||||
thinking_blocks,
|
||||
) = DatabricksConfig.extract_reasoning_content(
|
||||
choice["delta"]["content"]
|
||||
choice["delta"].get("content")
|
||||
)
|
||||
|
||||
choice["delta"]["content"] = content_str
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue