mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
Merge ce2d1d4bb1
into b82af5b826
This commit is contained in:
commit
837098580a
1 changed files with 4 additions and 4 deletions
|
@ -548,7 +548,7 @@ def add_provider_specific_fields(
|
|||
|
||||
class Message(OpenAIObject):
|
||||
content: Optional[str]
|
||||
role: Literal["assistant", "user", "system", "tool", "function"]
|
||||
role: Literal["assistant", "user", "system", "tool", "function", "developer"]
|
||||
tool_calls: Optional[List[ChatCompletionMessageToolCall]]
|
||||
function_call: Optional[FunctionCall]
|
||||
audio: Optional[ChatCompletionAudioResponse] = None
|
||||
|
@ -564,9 +564,9 @@ class Message(OpenAIObject):
|
|||
def __init__(
|
||||
self,
|
||||
content: Optional[str] = None,
|
||||
role: Literal["assistant"] = "assistant",
|
||||
function_call=None,
|
||||
tool_calls: Optional[list] = None,
|
||||
role: Literal["assistant", "user", "system", "tool", "function", "developer"] = "assistant",
|
||||
function_call: Optional[FunctionCall] = None,
|
||||
tool_calls: Optional[List[ChatCompletionMessageToolCall]] = None,
|
||||
audio: Optional[ChatCompletionAudioResponse] = None,
|
||||
provider_specific_fields: Optional[Dict[str, Any]] = None,
|
||||
reasoning_content: Optional[str] = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue