Skip to content

Remove "I will" phrasing from plan templates to make co-editing easier#55

Merged
husseinmozannar merged 5 commits intomainfrom
copilot/fix-37
Jun 3, 2025
Merged

Remove "I will" phrasing from plan templates to make co-editing easier#55
husseinmozannar merged 5 commits intomainfrom
copilot/fix-37

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 20, 2025

Problem

Plans created in Magentic-UI were unnecessarily verbose and difficult to co-edit due to the repetitive "I will" phrasing at the beginning of each step.

From the screenshot in the issue, we can see that steps all started with phrases like "I will search for..." and "I will access the menu information..." which added unnecessary wordiness.

Solution

This PR updates the plan templates to use more concise, direct language:

  1. Modified the prompt instructions in _prompts.py to remove the requirement for first-person phrasing

  2. Updated all example steps in the templates to use a direct style that:

    • Starts with a brief action verb matching the title
    • Avoids redundant "I will" statements
    • Preserves all the important information in a more concise format
  3. Changed the JSON schema examples to reflect the new style

Before vs After

Before:

- title: "Locate the menu of the first restaurant"
- details: "I will locate the menu of the first restaurant. \n This involves searching for top-rated restaurants in the 98052 area, selecting one with good reviews and an accessible menu, then extracting and formatting the menu information."

After:

- title: "Locate the menu of the first restaurant" 
- details: "Locate the menu of the first restaurant. \n Search for top-rated restaurants in the 98052 area, select one with good reviews and an accessible menu, then extract and format the menu information."

The changes maintain all necessary information while making the plans more readable and easier to edit.

Fixes #37.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: gagb <13227607+gagb@users.noreply.github.com>
Copilot AI changed the title [WIP] "I will" plans are hard to co-edit Remove "I will" phrasing from plan templates to make co-editing easier May 20, 2025
Copilot AI requested a review from gagb May 20, 2025 00:21
Copilot finished work on behalf of gagb May 20, 2025 00:21
@gagb gagb marked this pull request as ready for review May 20, 2025 15:37
Copy link
Copy Markdown
Collaborator

@gagb gagb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me and tested the PR and it works. It basically changed the prompts.

@gagb
Copy link
Copy Markdown
Collaborator

gagb commented May 20, 2025

@husseinmozannar and I discussed and he will revisit this in a week or so.

Copy link
Copy Markdown
Contributor

@matheusmaldaner matheusmaldaner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Properly addresses the Issue #37

@husseinmozannar husseinmozannar merged commit 75e01eb into main Jun 3, 2025
9 checks passed
@husseinmozannar husseinmozannar deleted the copilot/fix-37 branch June 3, 2025 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"I will" plans are hard to co-edit

6 participants