mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Support openrouter reasoning_content
on streaming (#9094)
* feat(convert_dict_to_response.py): support openrouter format of reasoning content * fix(transformation.py): fix openrouter streaming with reasoning content Fixes https://github.com/BerriAI/litellm/issues/8193#issuecomment-270892962 * fix: fix type error
This commit is contained in:
parent
42b7921ca1
commit
f899b828cf
6 changed files with 99 additions and 18 deletions
5
litellm/llms/openrouter/common_utils.py
Normal file
5
litellm/llms/openrouter/common_utils.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from litellm.llms.base_llm.chat.transformation import BaseLLMException
|
||||
|
||||
|
||||
class OpenRouterException(BaseLLMException):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue