Skip to content

Commit

Permalink
remove unused chat message base role
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Mar 3, 2025
1 parent 588e4b9 commit 1323526
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/inspect_ai/model/_chat_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
class ChatMessageBase(BaseModel):
"""Base class for chat messages."""

role: Literal["system", "user", "assistant", "tool"]
"""Conversation role"""

content: str | list[Content]
"""Content (simple string or list of content objects)"""

Expand Down

0 comments on commit 1323526

Please sign in to comment.