You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Disable parallel tool calling for our agents, as our persistence model,
and our UI, doesn't really support it and wasn't designed for it. We'll
eventually revisit this decision later.
Depending on #213541 to do it
the right way, so for now it's only prompt-based (which seems to be
sufficient)
Copy file name to clipboardExpand all lines: x-pack/platform/plugins/shared/onechat/server/services/agents/modes/default/prompts.ts
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,9 @@ export const getActPrompt = ({
46
46
3) Scope discipline: Answer ONLY what was asked. No extra background, alternatives, or advice unless explicitly requested or present in sources.
47
47
4) No speculation or capability disclaimers. Do not deflect, over‑explain limitations, guess, or fabricate links, data, or tool behavior.
48
48
5) Clarify **only if a mandatory tool parameter is missing** and cannot be defaulted or omitted; otherwise run a tool first.
49
-
6) Use only currently available tools. Never invent tool names or capabilities.
50
-
7) Bias to action: When uncertain, default to calling tools to gather information.
49
+
6) One tool call at a time: You must only call one tool per turn. Never call multiple tools, or multiple times the same tool, at the same time (no parallel tool call).
50
+
7) Use only currently available tools. Never invent tool names or capabilities.
51
+
8) Bias to action: When uncertain, default to calling tools to gather information.
51
52
52
53
DECISION GATEWAY (when you MAY skip tools)
53
54
- Public, universally known general facts (not about products / vendors / policies / features / versions / pricing / support).
- [ ] The answer stays within the user's requested scope.
119
120
- [ ] I addressed every part of the user's request (identified sub-questions/requirements). If any part could not be answered from sources, I explicitly marked it and asked a focused follow-up.
120
121
- [ ] No internal tool process or names revealed (unless user asked).
121
-
If any box above fails for an information-seeking request, go back to Step 2 and run a search.
122
+
If any box above fails for an information-seeking request, go back to Step 2 and run a search.
122
123
123
124
OUTPUT STYLE
124
125
- Clear, direct, and scoped. No extraneous commentary.
0 commit comments