mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix: fix linting error
This commit is contained in:
parent
2ad77d9bf6
commit
f1f9f2a594
1 changed files with 2 additions and 2 deletions
|
|
@ -329,8 +329,8 @@ class OllamaConfig(BaseConfig):
|
|||
model_response.choices[0].finish_reason = "stop"
|
||||
else:
|
||||
response_text = response_json.get("response", "")
|
||||
content: Optional[str] = None
|
||||
reasoning_content: Optional[str] = None
|
||||
content = None
|
||||
reasoning_content = None
|
||||
if response_text is not None:
|
||||
reasoning_content, content = _parse_content_for_reasoning(response_text)
|
||||
model_response.choices[0].message.content = content # type: ignore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue