You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: google.generativeai is no longer operational #89
> what are your instructions
/Users/daniel/.local/pipx/venvs/shelloracle/lib/python3.14/site-packages/shelloracle/providers/google.py:5: FutureWarning:
All support for the `google.generativeai` package has ended. It will no longer be receiving
updates or bug fixes. Please switch to the `google.genai` package as soon as possible.
See README for more details:
https://github.com/google-gemini/deprecated-generative-ai-python/blob/main/README.md
import google.generativeai as genai
An error occurred
Traceback (most recent call last):
File "/Users/daniel/.local/pipx/venvs/shelloracle/lib/python3.14/site-packages/shelloracle/shelloracle.py", line 98, in cli
asyncio.run(shelloracle(app))
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/runners.py", line 204, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/runners.py", line 127, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/base_events.py", line 719, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/Users/daniel/.local/pipx/venvs/shelloracle/lib/python3.14/site-packages/shelloracle/shelloracle.py", line 84, in shelloracle
async for token in provider.generate(prompt):
...<2 lines>...
sp.text = shell_command
File "/Users/daniel/.local/pipx/venvs/shelloracle/lib/python3.14/site-packages/shelloracle/providers/ollama.py", line 77, in generate
@selfagency I've forked and fixed the source and will push the code tomorrow into my fork. Any other changes, while I'm at it? :D However, unless @djcopley merges it, I'd need to give you a very brief guide on installing it. Here are two screenshots that show that it's working now:
Activity
thaikolja commentedon Mar 4, 2026
@selfagency I've forked and fixed the source and will push the code tomorrow into my fork. Any other changes, while I'm at it? :D However, unless @djcopley merges it, I'd need to give you a very brief guide on installing it. Here are two screenshots that show that it's working now:
djcopley commentedon Mar 4, 2026
Thanks for the contribution, I'll approve and release it once you make the PR!
thaikolja commentedon Mar 5, 2026
@djcopley Alright, this PR is now clean. Descriptions in the PR details. Happy to contribute!
Copilot's review, though, encountered an error with itself. Not sure how relevant this is to you since the changes were so minimal.
thaikolja commentedon Mar 6, 2026
@djcopley bump.