Skip to content

Commit

Permalink
feedback for no response
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Sep 15, 2024
1 parent 5dbc1ef commit e9875e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openhands/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ def wrapper(*args, **kwargs):
continue
break
else:
msg = 'Why are you not responding to the user?'
kwargs['messages'].append({'role': 'user', 'content': msg})
logger.warning('No completion messages!')
else:
logger.debug('No completion messages!')
Expand Down

0 comments on commit e9875e6

Please sign in to comment.