Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Jul 3, 2024
1 parent b0b0f4b commit 4ddd8d6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions wren-ai-service/src/web/v1/services/sql_explanation.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,6 @@ async def _task(
]
await asyncio.gather(*tasks)

# generation_result = await self._pipelines["generation"].run(
# question=sql_explanation_request.question,
# sql=sql_explanation_request.sql,
# sql_summary=sql_explanation_request.sql_summary,
# sql_analysis_results=sql_explanation_request.sql_analysis_results,
# full_sql=sql_explanation_request.full_sql,
# )

# sql_explanation_result = generation_result["post_process"]["results"]

logger.debug(f"sql explanation results: {sql_explanation_results}")

self.sql_explanation_results[query_id] = SQLExplanationResultResponse(
Expand Down

0 comments on commit 4ddd8d6

Please sign in to comment.