Skip to content

Commit

Permalink
Fix/gleanings loop (#1564)
Browse files Browse the repository at this point in the history
* Fix gleaning output parsing

* Semver
  • Loading branch information
AlonsoGuevara authored Dec 30, 2024
1 parent a2647da commit 5258bc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .semversioner/next-release/patch-20241227225850465466.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "patch",
"description": "Fix gleanings loop check"
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ async def _process_document(
history=response.history,
model_parameters=self._loop_args,
)
if response.output != "YES":

if response.output.content != "YES":
break

return results
Expand Down

0 comments on commit 5258bc5

Please sign in to comment.