Skip to content

Commit

Permalink
Merge pull request #71 from marclp-es/fix_message_content
Browse files Browse the repository at this point in the history
Fix: OpenAIChatMessage
  • Loading branch information
tjbck authored Jun 7, 2024
2 parents 4626771 + ac037b9 commit 5d13ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class OpenAIChatMessage(BaseModel):
role: str
content: str
content: str | List

model_config = ConfigDict(extra="allow")

Expand Down

0 comments on commit 5d13ecd

Please sign in to comment.