From e9875e6743a48c0900180bb24bbb7fc61e6395a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Sun, 15 Sep 2024 23:18:33 +0530 Subject: [PATCH] feedback for no response --- openhands/llm/llm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openhands/llm/llm.py b/openhands/llm/llm.py index b9f832ee87ba..ca4da456c17b 100644 --- a/openhands/llm/llm.py +++ b/openhands/llm/llm.py @@ -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!')