Skip to content

Commit

Permalink
Merge pull request #308 from Molrn/fix-flask-followup-questions-error
Browse files Browse the repository at this point in the history
fix(flask): no followup questions error
  • Loading branch information
zainhoda authored Mar 27, 2024
2 parents 790bfec + 8127d4a commit 221dc90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vanna/flask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ def generate_followup_questions(id: str, df, question, sql):
}
)
else:
cache.set(id=id, field="followup_questions", value=[])
return jsonify(
{
"type": "question_list",
Expand Down

0 comments on commit 221dc90

Please sign in to comment.