mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +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
|
# Optional liteLLM function params
|
||||||
**kwargs,
|
**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)
|
Perform a completion() using any of litellm supported llms (example gpt-4, gpt-3.5-turbo, claude-2, command-nightly)
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue