Skip to content

Commit

Permalink
Change to NullObservation
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Feb 6, 2025
1 parent db32ea0 commit 470ee07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/controller/agent_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ async def _step(self) -> None:

# Add an error event to trigger another step by the agent
self.event_stream.add_event(
AgentCondensationObservation(
NullObservation(
content='Trimming prompt to meet context window limitations'
),
EventSource.AGENT,
Expand Down

0 comments on commit 470ee07

Please sign in to comment.