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

Support all LiteLLM supported models #604

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

abhishekbhakat
Copy link
Contributor

Allow litellm to handle API key retrieval independently. Requiring shell-gpt to explicitly pass API keys would necessitate adding logic for all models supported by
litellm. This approach would be:

  1. Redundant, as litellm already manages this functionality
  2. Potentially exhaustive, given the extensive list of models litellm supports

By letting litellm manage API keys, we avoid unnecessary code duplication and maintain a more streamlined integration.

@abhishekbhakat
Copy link
Contributor Author

Wiki needs an update in case of supporting all LiteLLM Models. The instruction can be to just configure relative environment variables according to https://docs.litellm.ai/docs/providers

@nictuku
Copy link

nictuku commented Aug 28, 2024

This seems convenient, because we could get all models supported right away without extra work by @TheR1D.

@TheR1D TheR1D merged commit aac2f54 into TheR1D:main Aug 29, 2024
3 checks passed
@TheR1D
Copy link
Owner

TheR1D commented Aug 29, 2024

merged, thank you @abhishekbhakat @nictuku

albinekb pushed a commit to albinekb/shell_gpt that referenced this pull request Sep 6, 2024
giladbarnea pushed a commit to giladbarnea/shell_gpt that referenced this pull request Nov 2, 2024
…D#569)

Co-authored-by: Hejia Zhang <[email protected]>

Docker container improvements (TheR1D#540)

Co-authored-by: Farkhod Sadykov <[email protected]>

Minor bug fixes, documentation, release 1.4.4 (TheR1D#607)

CD pipeline fix (TheR1D#608)

Option for LiteLLM to manage API keys (TheR1D#604)
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