Skip to content

Commit

Permalink
Suggest code
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Mar 20, 2024
1 parent 90f6fb7 commit beb1c82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/chatdbg/chatdbg_lldb.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,11 @@ def chat(
"could not retrieve the input file contents. " + str(e)
)

parts.append(" ".join(remaining) if remaining else "What's the problem?")
parts.append(
" ".join(remaining)
if remaining
else "What's the problem? Provide code to fix the issue."
)

prompt = "\n\n".join(parts)

Expand Down

0 comments on commit beb1c82

Please sign in to comment.