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
i've made this PR #575 to make it work with Gemini models
it turns out, it was already working on main branch, but you have to set the gemini api key as "OPENAI_API_KEY" to make it work, which could lead to confusion
maybe the key could be more generic, or have more than one key
and use OPENAI_API_KEY only if litellm is not enable, otherwise use the generic one
and reference it on README.md usage
also had to inject google-generativeai pipx inject shell_gpt google-generativeai
The text was updated successfully, but these errors were encountered:
i've made this PR #575 to make it work with Gemini models
it turns out, it was already working on main branch, but you have to set the gemini api key as "OPENAI_API_KEY" to make it work, which could lead to confusion
maybe the key could be more generic, or have more than one key
and use OPENAI_API_KEY only if litellm is not enable, otherwise use the generic one
and reference it on README.md usage
also had to inject google-generativeai
pipx inject shell_gpt google-generativeai
The text was updated successfully, but these errors were encountered: