We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6fbf84 commit c7684ecCopy full SHA for c7684ec
openhands/agenthub/codeact_agent/codeact_agent.py
@@ -265,15 +265,7 @@ def step(self, state: State) -> Action:
265
'content': [
266
{
267
'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
276
- 'text': 'Use it as reference for time-sensitive information.',
+ 'text': f'Current date is {current_date}. Ignore anything that contradicts this.',
277
},
278
],
279
}
0 commit comments