mirror of
https://github.com/open-webui/pipelines
synced 2025-05-10 07:30:47 +00:00
Fix: OpenAIChatMessage
This commit is contained in:
parent
955cc11a42
commit
ac037b94f3
@ -4,7 +4,7 @@ from pydantic import BaseModel, ConfigDict
|
||||
|
||||
class OpenAIChatMessage(BaseModel):
|
||||
role: str
|
||||
content: str
|
||||
content: str | List
|
||||
|
||||
model_config = ConfigDict(extra="allow")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user