Spaces:
Sleeping
Sleeping
Upload redveil/models.py with huggingface_hub
Browse files- redveil/models.py +2 -0
redveil/models.py
CHANGED
|
@@ -35,6 +35,8 @@ class EndpointInfo(Dict):
|
|
| 35 |
class RedVeilObservation(Observation):
|
| 36 |
"""Observation from the RedVeil environment."""
|
| 37 |
|
|
|
|
|
|
|
| 38 |
observation_text: str = Field(default="", description="Human-readable observation text (LLM-compatible)")
|
| 39 |
budget_remaining: int = Field(default=0, description="Number of actions the agent can still take")
|
| 40 |
task_id: str = Field(default="", description="Current task identifier")
|
|
|
|
| 35 |
class RedVeilObservation(Observation):
|
| 36 |
"""Observation from the RedVeil environment."""
|
| 37 |
|
| 38 |
+
# Override reward default from None to 0.01 to avoid 0.0 when model is default-instantiated
|
| 39 |
+
reward: Optional[float] = Field(default=0.01, description="Reward signal, strictly between 0 and 1")
|
| 40 |
observation_text: str = Field(default="", description="Human-readable observation text (LLM-compatible)")
|
| 41 |
budget_remaining: int = Field(default=0, description="Number of actions the agent can still take")
|
| 42 |
task_id: str = Field(default="", description="Current task identifier")
|