Skip to content

Commit

Permalink
fix the usage of allow_llm_to_see_data
Browse files Browse the repository at this point in the history
  • Loading branch information
peilongchencc committed May 23, 2024
1 parent ff7a65d commit 68e2a26
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 @@ -1628,7 +1628,7 @@ def ask(
question = input("Enter a question: ")

try:
sql = self.generate_sql(question=question)
sql = self.generate_sql(question=question, allow_llm_to_see_data=allow_llm_to_see_data)
except Exception as e:
print(e)
return None, None, None
Expand Down

0 comments on commit 68e2a26

Please sign in to comment.