Skip to content

Commit

Permalink
fix(agent): update guided setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Sep 11, 2024
1 parent d819562 commit 19f11cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agents/bee/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class BeeAgentRunner {
stream: true,
guided: {
regex:
/Thought:.+\n(?:Final Answer:[\S\s]+|Tool Name:.+\nTool Caption:.+\nTool Input:\{.+\}\nTool Output:)/
/Thought:.{1,512}\n(?:Final Answer:[\S\s]+|Tool Name:.+\nTool Caption:.+\nTool Input:\{.+\}\nTool Output:)?/
.source,
},
})
Expand Down

0 comments on commit 19f11cf

Please sign in to comment.