mirror of
https://github.com/HanaokaYuzu/Gemini-API.git
synced 2026-04-12 12:23:03 -06:00
Issue with multimodal contexts #1
Labels
No labels
advanced
advanced
bug
dependencies
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
model
pull-request
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mirrors/Gemini-API#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @UnitTHK on GitHub (Feb 16, 2024).
I'm seeing some issue with when I'm utilizing stuffs like email integration, for example:
Chat response on web: https://i.imgur.com/lDqbzG7.png
Error on the console:
Traceback (most recent call last):
File "E:\Python\Others\selfbot-fuve.venv\lib\site-packages\discord\client.py", line 609, in _run_event
await coro(*args, **kwargs)
File "E:\Python\Others\selfbot-fuve\main.py", line 78, in msg
response = await get_ai_response(content, message.channel.id)
File "E:\Python\Others\selfbot-fuve\main.py", line 46, in get_ai_response
response = await chat.send_message(message)
File "E:\Python\Others\selfbot-fuve.venv\lib\site-packages\gemini\client.py", line 338, in send_message
return await self.geminiclient.generate_content(prompt, self)
File "E:\Python\Others\selfbot-fuve.venv\lib\site-packages\gemini\client.py", line 38, in wrapper
return await func(self, *args, **kwargs)
File "E:\Python\Others\selfbot-fuve.venv\lib\site-packages\gemini\client.py", line 213, in generate_content
for candidate in body[4]:
TypeError: 'NoneType' object is not iterable
Seems like there's some stuffs regarding multimodal that's not dealt with yet?
@jollyolliel commented on GitHub (Feb 16, 2024):
Also, I just want to check, can you generate images. I cant, Just want to know if it is just me or not
@UnitTHK commented on GitHub (Feb 16, 2024):
Yes, I can generate images on my account, although when I do so via the
API, the response from the AI is that it can't do that yet. Maybe it have
to do with where it's ran from (server in Finland, I'm in Vietnam).
On Sat, Feb 17, 2024, 12:01 AM jollyolliel @.***> wrote:
@HanaokaYuzu commented on GitHub (Feb 18, 2024):
Could you install the latest version and try again? Tested with YouTube and Google Workspace extensions and they work fine on my side.
@UnitTHK commented on GitHub (Feb 19, 2024):
Got it, will try and report back