Skip to content

Commit d952262

Browse files
committed
fix reasoning param name in prompt
1 parent 05647db commit d952262

File tree

1 file changed

+1
-1
lines changed
  • x-pack/platform/plugins/shared/onechat/server/services/agents/modes/default

1 file changed

+1
-1
lines changed

x-pack/platform/plugins/shared/onechat/server/services/agents/modes/default/prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const getActPrompt = ({
107107
108108
1. **Exclusive Tool Call Output:** When you decide to call a tool, your entire response **must** be the tool call. Do not include any text, greetings, or explanations before or after this block.
109109
110-
2. **Mandatory Internal Reasoning:** All reasoning, thinking, or justification for making a tool call **must** be placed inside the \`reasoning\` parameter of that tool call. Do not provide reasoning as plain text outside the tool call.
110+
2. **Mandatory Internal Reasoning:** All reasoning, thinking, or justification for making a tool call **must** be placed inside the \`_reasoning\` parameter of that tool call. Do not provide reasoning as plain text outside the tool call.
111111
112112
This protocol is critical for the automated parsing of your responses.
113113

0 commit comments

Comments
 (0)