Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemini Multimodal Agent Error 2 #1373

Open
shaunakjoshi12 opened this issue Jan 14, 2025 · 3 comments
Open

Gemini Multimodal Agent Error 2 #1373

shaunakjoshi12 opened this issue Jan 14, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@shaunakjoshi12
Copy link

shaunakjoshi12 commented Jan 14, 2025

Hello! I am trying to run gemini_agent.py and I encountered the following error

Exception ignored in: <coroutine object TTSSegmentsForwarder._main_task at 0x7ffff218d940> Traceback (most recent call last): File "/usr/local/lib/python3.12/dist-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs 2025-01-13 20:35:43,459 - ERROR livekit.agents - Error in _main_task Traceback (most recent call last): File "/usr/local/lib/python3.12/dist-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: coroutine ignored GeneratorExit {"pid": 75, "job_id": "AJ_vKkaFxQ5K487"} return await fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: coroutine ignored GeneratorExit

Need some help please!

@shaunakjoshi12 shaunakjoshi12 added the bug Something isn't working label Jan 14, 2025
@jayeshp19
Copy link
Collaborator

Hi @shaunakjoshi12, Thank you for reporting this issue with Gemini. Could you confirm if these errors are reproducible? It would help if you could share the steps to replicate the issue, so we can investigate and work on a fix.

@shaunakjoshi12 shaunakjoshi12 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2025
@shaunakjoshi12
Copy link
Author

Hi @jayeshp19 thank you very much for responding! All you need to do is

  1. host a server on a port (eg. 8000) by executing python3 /app/src/gemini_agent.py dev
  2. Run a frontend application to connect to that server.

I have observed after numerous tests that there is no fixed pattern where it fails but I feel it has something to do with TTSSegmentsForwarder Please find the example screenshots below
Screenshot 2025-01-15 at 10 36 33 AM
Screenshot 2025-01-15 at 10 56 52 AM

@shaunakjoshi12
Copy link
Author

Hey @jayeshp19 did anything come out of it? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants