Skip to content

Commit

Permalink
pass json.dumps of converted prompt (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhe-log10 authored Apr 15, 2024
1 parent e6933b4 commit d61ca40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log10/prompt_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _suggest(self, prompt_json: json, report: dict | None = None) -> dict:
report = json.dumps(report)

json_payload = {
"base_prompt": prompt_json,
"base_prompt": json.dumps(prompt_json),
"report": report,
"session_id": self.__session_id,
}
Expand Down

0 comments on commit d61ca40

Please sign in to comment.