[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
197b7755ea
commit
562af754c8
1 changed files with 3 additions and 1 deletions
|
|
@ -4908,7 +4908,9 @@ class LlamaCppBackend:
|
|||
# suppress the re-prompt.
|
||||
_visible = content_accum.strip()
|
||||
_stripped = _visible if _visible else reasoning_accum.strip()
|
||||
_visible_has_artifact = bool(_visible) and _has_answer_artifact(_visible)
|
||||
_visible_has_artifact = bool(_visible) and _has_answer_artifact(
|
||||
_visible
|
||||
)
|
||||
if (
|
||||
tools
|
||||
and _reprompt_count < _MAX_REPROMPTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue