Correction for Gemini API #9
LixxRarin
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Thanks for sharing your solution. On which device did you try the plugin? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I just tried your version on Kobo Forma (on KOReader version 2025.04) , got the error below. ( Current one works without a problem) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For some reason, I wasn't able to use the Gemini API in this plugin, and after a lot of trial and error, I made the following fixes:
For version: v1.04
safety_settings
) in theconfig
.query
function to make it clearer and more modular.To apply the fix, just download the attached file, rename
gemini.txt
togemini.lua
, and replace the existing one in theassistant.koplugin/api_handlers/gemini.lua
folder.gemini.txt
Beta Was this translation helpful? Give feedback.
All reactions