Skip to content

Commit 61db6ae

Browse files
committed
thinkies
1 parent 527fa90 commit 61db6ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assistant/common/reply.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ async def send_reply(
3333
files = []
3434
for idx, match in enumerate(THINK_BLOCK.finditer(content)):
3535
think_content = match.group(1).strip()
36+
if not think_content:
37+
think_content += "no thinkies 🤯"
3638
filename = "thinkies.txt" if idx == 0 else f"thinkies_part{idx + 1}.txt"
3739
files.append(text_to_file(think_content, filename=filename))
3840
content = THINK_BLOCK.sub("", content).strip()

0 commit comments

Comments
 (0)