Skip to content

Commit

Permalink
Annotate NewMessage.promptState as Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Jan 9, 2025
1 parent 08269a8 commit 2f03c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon_data_models/models/api/klat/socketio.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class NewMessage(BaseModel):
userID: str = Field(description="User ID associated with the message")
prompt_id: Optional[str] = Field(
default=None, description="Prompt ID this message is in response to")
promptState: CcaiPromptStates = Field(
promptState: Optional[CcaiPromptStates] = Field(
default=None,
description="Associated CCAI state if `prompt_id` is defined")
source: str = Field(description="Username associated with the message")
Expand Down

0 comments on commit 2f03c80

Please sign in to comment.