Skip to content

Commit

Permalink
fix: agenerate sql
Browse files Browse the repository at this point in the history
  • Loading branch information
vikyw89 committed Jul 5, 2024
1 parent 0c75730 commit 1c3a68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanna/base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async def agenerate_sql(

try:
self.log(title="Running Intermediate SQL", message=intermediate_sql)
df = self.run_sql(intermediate_sql)
df = await self.arun_sql(intermediate_sql)

prompt = self.get_sql_prompt(
initial_prompt=initial_prompt,
Expand Down

0 comments on commit 1c3a68d

Please sign in to comment.