Skip to content

Commit

Permalink
Remove response schema due to bug in gemini sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
kinto-b committed Sep 27, 2024
1 parent bdaae52 commit e7817dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karten/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def initialise_model(key: str) -> genai.GenerativeModel:
generation_config={
"candidate_count": 1,
"response_mime_type": "application/json",
"response_schema": Card,
# "response_schema": Card,
},
)

Expand Down

0 comments on commit e7817dc

Please sign in to comment.