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

Commit e4239cb

Browse files
committed
allow a few more completions, we hit wall to often
long term we need to move this to persona
1 parent 76f6b5d commit e4239cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ai_bot/bot.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ class Bot
66
attr_reader :model
77

88
BOT_NOT_FOUND = Class.new(StandardError)
9-
MAX_COMPLETIONS = 5
9+
# the future is agentic, allow for more turns
10+
MAX_COMPLETIONS = 8
1011
# limit is arbitrary, but 5 which was used in the past was too low
1112
MAX_TOOLS = 20
1213

0 commit comments

Comments
 (0)