forked from phoenix/litellm-mirror
fix(migration.md): migration guide for new litellm MAJOR release
This commit is contained in:
parent
0d6b13b73b
commit
17b02c0753
1 changed files with 11 additions and 1 deletions
|
@ -3,8 +3,18 @@
|
||||||
When we have breaking changes (i.e. going from 1.x.x to 2.x.x), we will document those changes here.
|
When we have breaking changes (i.e. going from 1.x.x to 2.x.x), we will document those changes here.
|
||||||
|
|
||||||
|
|
||||||
🧹 nothing here yet..
|
## `1.0.0`
|
||||||
|
|
||||||
|
**Last Release before breaking change**: 0.14.0
|
||||||
|
|
||||||
|
**What changed?**
|
||||||
|
|
||||||
|
- Requires `openai>=1.0.0`
|
||||||
|
- `openai.InvalidRequestError` → `openai.BadRequestError`
|
||||||
|
- `openai.ServiceUnavailableError` → `openai.APIStatusError`
|
||||||
|
- *NEW* litellm client, allow users to pass api_key
|
||||||
|
- `litellm.Litellm(api_key="sk-123")`
|
||||||
|
- response objects now inherit from `BaseModel` (prev. `OpenAIObject`)
|
||||||
|
|
||||||
**How can we communicate changes better?**
|
**How can we communicate changes better?**
|
||||||
Tell us
|
Tell us
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue