Skip to content

Commit c7684ec

Browse files
committed
chore: simplify time message
1 parent a6fbf84 commit c7684ec

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

openhands/agenthub/codeact_agent/codeact_agent.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,7 @@ def step(self, state: State) -> Action:
265265
'content': [
266266
{
267267
'type': 'text',
268-
'text': 'Current date is in <current_date></current_date> tag\n',
269-
},
270-
{
271-
'type': 'text',
272-
'text': f'<current_date>{current_date}</current_date>',
273-
},
274-
{
275-
'type': 'text',
276-
'text': 'Use it as reference for time-sensitive information.',
268+
'text': f'Current date is {current_date}. Ignore anything that contradicts this.',
277269
},
278270
],
279271
}

0 commit comments

Comments
 (0)