LearnNewsExamplesServices
Frontmatter
id7640
titleFeat: Add agent identity and templating to `createComment` tool
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 25, 2025, 11:38 AM
updatedAtOct 25, 2025, 11:50 AM
githubUrlhttps://github.com/neomjs/neo/issues/7640
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 25, 2025, 11:50 AM

Feat: Add agent identity and templating to createComment tool

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 25, 2025, 11:38 AM

To standardize AI-generated comments on pull requests and reduce formatting errors, the createComment tool will be enhanced.

Changes:

  1. New agent Parameter: A new agent parameter will be added to the createComment tool. The description for this parameter will be clear that it's for identifying the agent model (e.g., "Gemini 2.5 pro").
  2. Server-Side Templating: The createComment method in PullRequestService.mjs will be updated. It will use the agent parameter to wrap the provided body in a template that adds a header (Input from [agent]:) and prefixes the comment body with a specific icon ( for Gemini, for Claude).
  3. API Spec Update: The openapi.yaml file for the github-workflow server will be updated to include the new agent parameter in the createComment operation and clarify that the tool now handles the comment formatting.
tobiu assigned to @tobiu on Oct 25, 2025, 11:48 AM
tobiu added the enhancement label on Oct 25, 2025, 11:48 AM
tobiu added the ai label on Oct 25, 2025, 11:48 AM
tobiu referenced in commit 7f166b8 - "Feat: Add agent identity and templating to createComment tool #7640" on Oct 25, 2025, 11:50 AM
tobiu closed this issue on Oct 25, 2025, 11:50 AM