v1.21.5
·
12953 commits
to main
since this release
What's Changed
⭐️ [Feat] Show correct provider in exceptions - for Mistral API, PerplexityAPI, Anyscale, XInference by @ishaan-jaff in #1765, #1776
(Thanks @dhruv-anand-aintech for the issue/help)
Exceptions for Mistral API, PerplexityAPI, Anyscale, XInference now show the correct provider name, before they would show OPENAI_API_KEY
is missing when using PerplexityAI
exception: PerplexityException - Traceback (most recent call last):
File "/Users/ishaanjaffer/Github/litellm/litellm/llms/perplexity.py", line 349, in completion
raise e
File "/Users/ishaanjaffer/Github/litellm/litellm/llms/perplexity.py", line 292, in completion
perplexity_client = perplexity(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/perplexity/_client.py", line 98, in __init__
raise perplexityError(
perplexity.perplexityError: The api_key client option must be set either by passing api_key to the client or by setting the PERPLEXITY_API_KEY environment variable
- fix(view_key_table_tsx): show abbreviated key name instead of hashed token by @krrishdholakia in #1782
- fix(main.py): for health checks, don't use cached responses by @krrishdholakia in #1785
Full Changelog: v1.21.4...v1.21.5