Skip to content

Bug: google.generativeai is no longer operational #89

@selfagency

Description

@selfagency
> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions