Skip to content

Commit

Permalink
fix: fix parser needs the actual completion (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnagro authored Dec 7, 2023
1 parent 1b6bbac commit 7b2a745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/langchain/output_parsers/output_fixing_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def parse(completion)
completion: completion,
error: e
)
)
).completion
parser.parse(new_completion)
end

Expand Down

0 comments on commit 7b2a745

Please sign in to comment.