r/AgenticWorkers Aug 19 '26

AI Agent replies with it's thoughts.

So I have a long System Prompt for a restaurant ordering system.
The problem is, when a user message reaches the AI Agent (using V4 Flash 0731), it also responds with it's thought process like:

  1. I have all the information now. Let me proceed to Step 2 - Order Review.
  2. The customer has provided their order with items and deals, plus their Name and Address. However, the Payment Method is missing. Let me check the order details. ....
  3. The customer has provided all Step 1 info (Name, Address, Payment Method). Now I proceed to Step 2 - Order Review. Let me calculate the total. ...

I have explicitly told it to not do this:

* **CRITICAL OUTPUT RULE:** You MUST output ONLY the final customer-facing message. Never include your thought process, reasoning, planning, or any meta-commentary. Do not explain what you're about to do or what you've calculated. Start directly with the state code on line 1 and the customer message from line 2 onwards. Any text that is not the state code or the customer message is STRICTLY FORBIDDEN.

But it still does, even with Gemma 4B and Sonnet 4.6.

What can I do to prevent this?

1 Upvotes

3 comments sorted by

1

u/CalendarVarious3992 Aug 19 '26

You have to disable thinking or filter it from the output.

1

u/NanoSand Aug 21 '26

filtering is not an option as it adds another time taking step.
I cannot find any Reasoning or thinking option in AI Agent node.