Skip to content

Commit

Permalink
fix: debug_saver was not using the pydantic object but used the raw r…
Browse files Browse the repository at this point in the history
…esponse mistakingly
  • Loading branch information
provos committed Sep 10, 2024
1 parent e9f5c75 commit cffc820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/planai/llm_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def generate_pydantic(
)

if debug_saver is not None:
debug_saver(prompt=formatted_prompt, response=raw_response)
debug_saver(prompt=formatted_prompt, response=response)

return response

Expand Down

0 comments on commit cffc820

Please sign in to comment.