forked from phoenix/litellm-mirror
fix(types/utils.py): message role is always 'assistant'
This commit is contained in:
parent
f755cc7558
commit
52b293e831
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class Message(OpenAIObject):
|
|||
):
|
||||
init_values = {
|
||||
"content": content,
|
||||
"role": role,
|
||||
"role": "assistant",
|
||||
"function_call": (
|
||||
FunctionCall(**function_call) if function_call is not None else None
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue