From ac037b94f3c8b47898889034bab6d348aba8f687 Mon Sep 17 00:00:00 2001 From: Marc Lopez Date: Fri, 7 Jun 2024 03:08:42 +0200 Subject: [PATCH] Fix: OpenAIChatMessage --- schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas.py b/schemas.py index c35a75b0..da4122a7 100644 --- a/schemas.py +++ b/schemas.py @@ -4,7 +4,7 @@ class OpenAIChatMessage(BaseModel): role: str - content: str + content: str | List model_config = ConfigDict(extra="allow")