Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 94e33fd

Browse files
committed
also catch partial tool just in case
1 parent c2eeeac commit 94e33fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ai_bot/playground.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def reply_to_chat_message(message, channel, context_post_ids)
337337
new_prompts =
338338
bot.reply(context) do |partial, cancel, placeholder, type|
339339
# no support for tools or thinking by design
340-
next if type == :thinking || type == :tool_details
340+
next if type == :thinking || type == :tool_details || type == :partial_tool
341341
if !reply
342342
# just eat all leading spaces we can not create the message
343343
next if partial.blank?

0 commit comments

Comments
 (0)