Skip to content

Update Copilot instructions for reviewing model builder - #2164

Merged
Baiju Meswani (baijumeswani) merged 1 commit into
mainfrom
kvaishnavi/update-copilot-model-builder-review
May 14, 2026
Merged

Update Copilot instructions for reviewing model builder#2164
Baiju Meswani (baijumeswani) merged 1 commit into
mainfrom
kvaishnavi/update-copilot-model-builder-review

Conversation

@kunal-vaishnavi

Copy link
Copy Markdown
Contributor

Description

This PR adds an extra line to the Copilot review instructions for the model builder.

Motivation and Context

There are several open PRs for the model builder. This is one of the code style items that should be looked for during a PR review.

Copilot AI review requested due to automatic review settings May 14, 2026 17:16
@kunal-vaishnavi
kunal-vaishnavi enabled auto-merge (squash) May 14, 2026 17:16
@baijumeswani
Baiju Meswani (baijumeswani) merged commit 85aa0ce into main May 14, 2026
15 of 18 checks passed
@baijumeswani
Baiju Meswani (baijumeswani) deleted the kvaishnavi/update-copilot-model-builder-review branch May 14, 2026 17:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Python Model Builder Copilot review instructions to highlight a specific code-style preference when inserting nodes, aiming to improve consistency across ongoing model-builder PR reviews.

Changes:

  • Adds a guideline recommending self.make_op_name as the preferred wrapper when inserting nodes.


Read both documents to understand the intended usage, supported models, design principles, and architectural constraints before suggesting or reviewing any code changes in this area.

When a node is inserted into the model, prefer using `self.make_op_name` as the wrapper method for `self.make_node` + `self.make_value` calls.
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.

3 participants