We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad77d9 commit f1f9f2aCopy full SHA for f1f9f2a
litellm/llms/ollama/completion/transformation.py
@@ -329,8 +329,8 @@ def transform_response(
329
model_response.choices[0].finish_reason = "stop"
330
else:
331
response_text = response_json.get("response", "")
332
- content: Optional[str] = None
333
- reasoning_content: Optional[str] = None
+ content = None
+ reasoning_content = None
334
if response_text is not None:
335
reasoning_content, content = _parse_content_for_reasoning(response_text)
336
model_response.choices[0].message.content = content # type: ignore
0 commit comments