Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix(channel): drop the hard-coded 32-step cap on Channel runs (#23421)

Arvin Xu276ed1bb6e52
diff --git a/apps/server/src/services/channel/ChannelCoordinator.ts b/apps/server/src/services/channel/ChannelCoordinator.ts
index cb0ddc9b587..fe37e431e82 100644
--- a/apps/server/src/services/channel/ChannelCoordinator.ts
+++ b/apps/server/src/services/channel/ChannelCoordinator.ts
@@ -333,7 +333,6 @@ export class ChannelCoordinator {
...attachments,
hooks: [completion],
instructions: CHANNEL_INSTRUCTIONS,
- maxSteps: 32,
prompt: buildChannelPrompt(job.manifest, input, {
context: context.messages,
omitted: context.omitted,