v1.57.8-stable
alerting, prometheus, secret management, management endpoints, ui, prompt management, finetuning, batch
新增 / 更新模型
- Mistral large 定價 - https://github.com/BerriAI/litellm/pull/7452
- Cohere command-r7b-12-2024 定價 - https://github.com/BerriAI/litellm/pull/7553/files
- Voyage - 新模型、價格與內容視窗資訊 - https://github.com/BerriAI/litellm/pull/7472
- Anthropic - 將 Bedrock claude-3-5-haiku 的 max_output_tokens 調高至 8192
一般 Proxy 改進
- 即時模型支援健康檢查
- 支援透過虛擬金鑰呼叫 Azure 即時路由
- 支援在
/utils/token_counter上使用自訂 tokenizer - 在檢查自架模型的 token 數量時很有用 - 請求優先化 - 也支援在
/v1/completion端點上使用
LLM 翻譯改進
- 支援 Deepgram STT。從這裡開始
- OpenAI Moderations - 支援
omni-moderation-latest。從這裡開始 - Azure O1 - 假串流支援。這可確保如果傳入
stream=true,回應就會以串流方式傳送。從這裡開始 - Anthropic - 非空白字元停止序列處理 - PR
- Azure OpenAI - 支援 Entra ID 使用者名稱 + 密碼式驗證。從這裡開始
- LM Studio - embedding 路由支援。從這裡開始
- WatsonX - ZenAPIKeyAuth 支援。從這裡開始
Prompt 管理改進
- Langfuse 整合
- HumanLoop 整合
- 支援使用負載平衡模型
- 支援從 prompt manager 載入可選參數
Finetuning + Batch APIs 改進
新增 警報整合
PagerDuty 警報整合。
可處理兩種類型的警報:
- 高 LLM API 失敗率。設定 X 秒內失敗 X 次以觸發警報。
- 高數量的 LLM 請求掛起。設定 X 秒內掛起 X 次以觸發警報。
Prometheus 改進
新增支援可根據自訂指標追蹤延遲/支出/token。從這裡開始
新增 Hashicorp Secret Manager 支援
支援讀取憑證 + 寫入 LLM API 金鑰。從這裡開始
管理端點 / UI 改進
- 在 Proxy UI 上建立和檢視組織 + 指派組織管理員
- 支援透過 key_alias 刪除金鑰
- 允許在 UI 上將團隊指派給組織
- 停用在 'test key' 面板中使用 ui session token
- 顯示 'test key' 面板中使用的模型
- 支援在 'test key' 面板中輸出 Markdown
Helm 改進
- 防止 db migrations cron job 進行 istio 注入
- 允許在 job 內使用 migrationJob.enabled 變數
記錄改進
- braintrust logging: 遵循 project_id,新增更多指標 - https://github.com/BerriAI/litellm/pull/7613
- Athina - 支援 base url -
ATHINA_BASE_URL - Lunary - 允許將自訂 parent run id 傳遞給 LLM Calls
Git Diff
這是 v1.56.3-stable 與 v1.57.8-stable 之間的 diff。
請用這個來查看程式碼基底中的變更。