Skip to content

Commit f1f9f2a

Browse files
fix: fix linting error
1 parent 2ad77d9 commit f1f9f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

litellm/llms/ollama/completion/transformation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def transform_response(
329329
model_response.choices[0].finish_reason = "stop"
330330
else:
331331
response_text = response_json.get("response", "")
332-
content: Optional[str] = None
333-
reasoning_content: Optional[str] = None
332+
content = None
333+
reasoning_content = None
334334
if response_text is not None:
335335
reasoning_content, content = _parse_content_for_reasoning(response_text)
336336
model_response.choices[0].message.content = content # type: ignore

0 commit comments

Comments
 (0)