mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
refactor: add CustomStreamWrapper return type for completion
This commit is contained in:
parent
c9b83ff853
commit
79ea466cf5
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ def completion(
|
|||
|
||||
# Optional liteLLM function params
|
||||
**kwargs,
|
||||
) -> ModelResponse:
|
||||
) -> Union[ModelResponse, CustomStreamWrapper]:
|
||||
"""
|
||||
Perform a completion() using any of litellm supported llms (example gpt-4, gpt-3.5-turbo, claude-2, command-nightly)
|
||||
Parameters:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue