Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Jul 4, 2024
1 parent ca81ddb commit ecf64ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wren-ai-service/src/pipelines/ask/sql_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def generate(prompt: dict, generator: Any) -> dict:
@async_timer
async def post_process(generate: dict, post_processor: GenerationPostProcessor) -> dict:
logger.debug(
f"generate: {orjson.dumps(generate, options=orjson.OPT_INDENT_2).decode()}"
f"generate: {orjson.dumps(generate, option=orjson.OPT_INDENT_2).decode()}"
)
return await post_processor.run(generate.get("replies"))

Expand Down

0 comments on commit ecf64ca

Please sign in to comment.