diff --git a/app/models/openai_models.py b/app/models/openai_models.py index 71534ba..b352ce1 100644 --- a/app/models/openai_models.py +++ b/app/models/openai_models.py @@ -10,7 +10,7 @@ from pydantic import BaseModel, Field class ChatMessage(BaseModel): """A chat message in the conversation.""" - role: Literal["system", "user", "assistant", "function", "tool"] + role: Literal["system", "user", "assistant", "function", "tool", "developer"] content: Optional[str] = None name: Optional[str] = None function_call: Optional[Dict[str, Any]] = None