Comments (6)
should it just be litellm.api_key
? like on openai
from litellm.
nvm you're right.. how about this
import litellm
litellm.api_keys = {"openai": key, "azure": key..}
from litellm.
import litellm
litellm.openai_key = "sk-..."
litellm.azure_key = "..."
alternative.. i think thisi is a bit cleaner
from litellm.
better for cases where you have maybe 1-2 alt keys, probably less ideal for a batch but i presume that case is lesser
from litellm.
should address this
from litellm.
@ishaan-jaff close the ticket if this works for your case
from litellm.
Related Issues (20)
- [Feature]: Include Git hash in `x-litellm-version` HOT 2
- [Feature]: Fallbacks based on request priority + available usage thresholds HOT 1
- [Bug]: `/health` with unpriv user API key gives a very confusing response HOT 2
- Update Docker Image Tag in values.yaml to Specific Version HOT 1
- [Bug]: Division by zero error when accessing model metric on proxy server UI HOT 7
- [Feature]: deepgram STT as an alternative to openai's whisper HOT 3
- [Bug]: Keys with budget set throw unauthorized error HOT 5
- [Bug]: LiteLLM proxy get error when "stream_options" is in JSON HOT 2
- [Bug]: When configuring the DALLE model through the UI, it can lead to model errors.
- [Bug]: httpx.ReadError Timeout Issue with long Completions HOT 10
- [Bug]: Health-check fails with working endpoints HOT 1
- [Feature]: allow passing presidio ad-hoc recognizers per call
- [Feature]: Azure Assistants API support
- [Feature]: Using the Amazon Bedrock Converse API HOT 9
- [Feature]: Allow Redis Semantic caching with custom Embedding models HOT 1
- [Feature]: Support Azure OpenAI in Text-To-Speech HOT 2
- [Bug]: 422 Unprocessable Entity - List index out of range
- [Bug]: Parsing nested objects from xml
- [QUESTION] Issue with LittleLM Python SDK and Custom Endpoint (Behind Proxy) HOT 4
- [Feature]: retry if openai closes connection early
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litellm.