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 support for API key configuration in LiteLLM #1746

Open
Devanshusp opened this issue Aug 25, 2024 · 7 comments · May be fixed by #2178
Open

Add support for API key configuration in LiteLLM #1746

Devanshusp opened this issue Aug 25, 2024 · 7 comments · May be fixed by #2178
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Devanshusp
Copy link

🚀 The feature

Allow the LiteLLM integration to use an API key specified in the configuration object instead of requiring it to be set as an environment variable.

Motivation, pitch

Right now, the LiteLLM integration only allows setting the API key through environment variables, which isn't always the most convenient option. By allowing the API key to be specified directly in the configuration object (self.config.api_key), we make it easier for developers to manage their API keys within their application’s settings.

@Dev-Khant Dev-Khant added enhancement New feature or request good first issue Good for newcomers labels Aug 25, 2024
@Jai0401
Copy link
Contributor

Jai0401 commented Aug 28, 2024

@Dev-Khant is this issue open for contribution?

@Dev-Khant
Copy link
Member

@Devanshusp Are you working on the active PR? Please let us know.

@Devanshusp
Copy link
Author

Yes @Dev-Khant, working on closing out this issue with #1747

@Dev-Khant
Copy link
Member

Yes @Dev-Khant, working on closing out this issue with #1747

Sounds good, I have left a comment there. Please have a look.

@memsranga
Copy link

memsranga commented Sep 12, 2024

Hi @Devanshusp , are you still working on this?

@memsranga memsranga mentioned this issue Sep 17, 2024
18 tasks
@dhirenmathur
Copy link

Tried to generate required changes using potpie for this change for the next contributor to pick this up easily: https://app.potpie.ai/chat/019344ed-8b64-708d-8c8b-afa3877a92e7

AshDevFr added a commit to AshDevFr/mem0 that referenced this issue Jan 24, 2025
@tarishij17 tarishij17 linked a pull request Jan 27, 2025 that will close this issue
18 tasks
@tarishij17
Copy link

tarishij17 commented Jan 27, 2025

Sharing PR #2178
@Devanshusp Pls review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
6 participants