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 #65

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Gemini #65

wants to merge 2 commits into from

Conversation

j0yk1ll
Copy link

@j0yk1ll j0yk1ll commented May 29, 2024

Added support for gemini. I tested it, but there's one issue at the moment.

When I launch it via the devon command I get an ACCESS_TOKEN_SCOPE_INSUFFICIENT error.

When I run npm run start start directly through (from the devon-tui directory, which requires to copy the .devon.config file inside the devon-tui directory) it works. It seems to me that there is an issue with genai running inside the pipx container. My current assumption is that you need some gcloud auth which is missing inside the pipx container.

This would solve #43

j0yk1ll added 2 commits May 29, 2024 07:06
… to scroll_up to be consistent with scroll_down. added devon config to gitignore
@ObjectJosh
Copy link
Contributor

@j0yk1ll Hmm, I don't have a specific answer for the ACCESS_TOKEN_SCOPE_INSUFFICIENT error, but is it the same error reported here?

@j0yk1ll
Copy link
Author

j0yk1ll commented May 30, 2024

@j0yk1ll Hmm, I don't have a specific answer for the ACCESS_TOKEN_SCOPE_INSUFFICIENT error, but is it the same error reported here?

Yes that's the error. I also couldn't find an actual answer online.

Alternatively we could use the VertexAI way to use Gemini instead of the AI Studio, but this requires a more complicated setup by the user because they need to create a google cloud project and add billing to their account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants