Skip to content

Commit

Permalink
fix mypy errors in sotopia/database
Browse files Browse the repository at this point in the history
  • Loading branch information
JXZhou authored and JXZhou committed Jan 17, 2025
1 parent 02ea368 commit cb441c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sotopia/database/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ class BaseEpisodeLog(BaseModel):
models: list[str] | None = Field(index=True, default=[])
messages: list[list[tuple[str, str, str]]] # Messages arranged by turn
reasoning: str = Field(default="")
rewards: list[
tuple[float, dict[str, float]] | float | dict[str, dict]
] # Rewards arranged by turn
rewards: list[tuple[float, dict[str, float]] | float] # Rewards arranged by turn
rewards_prompt: str

@model_validator(mode="after")
Expand Down

0 comments on commit cb441c0

Please sign in to comment.