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

Add Google Gemini support and enhance command handling #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

aredwine3
Copy link

Introduce Google Gemini as an LLM provider option, improve shell command extraction (powerlevel10K & other terminal propmpt support (zsh only atm)), and enhance API key validation. Update .gitignore to exclude specific files.

- Improved error handling in get_shell_prompt with debug output.
- Added functionality to extract command from zsh prmpt when user uses powerlevel10k and other common prompts.
- Added common prompt markers for better command extraction.
- Updated command filtering to exclude 'wut' commands.
- Enhanced API key checks to warn if GOOGLE_API_KEY is set without GEMINI_MODEL.
@shobrook
Copy link
Owner

Thanks for opening this, will do a proper review ASAP!

@aredwine3
Copy link
Author

Sounds good! Let me know if you need me to change anything.

@mbaneshi
Copy link

@aredwine3 Thanks, I am looking for this.Also support for wezterm

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.

3 participants