Skip to content

Conversation

@UtkarshMishra-Microsoft
Copy link
Contributor

@UtkarshMishra-Microsoft UtkarshMishra-Microsoft commented Jun 26, 2025

Purpose

*This PR modifies the Planner agent prompt template to eliminate the explicit "EXCEPTION" wording from generated steps. The updated prompt instructs the model to:

Continue prioritizing the provided functions to accomplish each step.

  • Assign steps to the GenericAgent if the task can be handled by a general LLM, without appending 'EXCEPTION' to the action.

  • Assign steps to the HumanAgent if the task cannot be handled by a general LLM, with clear, professional instructions, without adding 'EXCEPTION' wording.

  • Retains examples like converting SQL to Python or writing a product strategy to guide model behavior.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@UtkarshMishra-Microsoft UtkarshMishra-Microsoft removed the request for review from Fr4nc3 July 1, 2025 01:29
@Roopan-Microsoft Roopan-Microsoft merged commit 34f5a49 into dev Jul 1, 2025
9 checks passed
@UtkarshMishra-Microsoft UtkarshMishra-Microsoft deleted the Exception-Prompt-BUG branch July 15, 2025 11:29
@github-actions
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

blessing-msft pushed a commit that referenced this pull request Aug 1, 2025
fix: Updated Planner prompt to remove EXCEPTION wording and align with LLM behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants