Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix MCP prompt role to 'assistant' per spec#916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
genius-0963 wants to merge1 commit intogithub:main
base:main
Choose a base branch
Loading
fromgenius-0963:copilot/vscode1755570378304

Conversation

genius-0963
Copy link

Description:
This PR updates the MCP server to use role: "assistant" instead of role: "system" in prompt messages, in compliance with the MCP specification:
https://modelcontextprotocol.io/specification/2025-06-18/server/prompts#promptmessage

Reason:

Prevents errors in MCP Inspector and other tools expecting only user or assistant roles.
Resolves:
Files changed:

workflow_prompts.go
issues.go
Testing:

No errors found in the updated files.
MCP Inspector and other tools should now work as expected.

JaclynCodes reacted with eyes emoji
@genius-0963genius-0963 requested a review froma team as acode ownerAugust 19, 2025 02:31
@LuluBeatson
Copy link
Contributor

Fixed with#941,#887

JaclynCodes reacted with eyes emoji

Copy link

@JaclynCodesJaclynCodes left a comment

Choose a reason for hiding this comment

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

K

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
1 more reviewer

@JaclynCodesJaclynCodesJaclynCodes left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@genius-0963@LuluBeatson@JaclynCodes

[8]ページ先頭

©2009-2025 Movatter.jp