Content-Length: 292389 | pFad | https://github.com/mark3labs/mcp-go/commit/716eabedfef62d99a04b749472b8cef27b404fa3

7F docs: Remove reference to `mcp.RoleSystem` (#269) · mark3labs/mcp-go@716eabe · GitHub
Skip to content

Commit 716eabe

Browse files
docs: Remove reference to mcp.RoleSystem (#269)
1 parent 3dfa331 commit 716eabe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ s.AddPrompt(mcp.NewPrompt("code_review",
459459
"Code review assistance",
460460
[]mcp.PromptMessage{
461461
mcp.NewPromptMessage(
462-
mcp.RoleSystem,
463-
mcp.NewTextContent("You are a helpful code reviewer. Review the changes and provide constructive feedback."),
462+
mcp.RoleUser,
463+
mcp.NewTextContent("Review the changes and provide constructive feedback."),
464464
),
465465
mcp.NewPromptMessage(
466466
mcp.RoleAssistant,
@@ -490,11 +490,11 @@ s.AddPrompt(mcp.NewPrompt("query_builder",
490490
"SQL query builder assistance",
491491
[]mcp.PromptMessage{
492492
mcp.NewPromptMessage(
493-
mcp.RoleSystem,
494-
mcp.NewTextContent("You are a SQL expert. Help construct efficient and safe queries."),
493+
mcp.RoleUser,
494+
mcp.NewTextContent("Help construct efficient and safe queries for the provided schema."),
495495
),
496496
mcp.NewPromptMessage(
497-
mcp.RoleAssistant,
497+
mcp.RoleUser,
498498
mcp.NewEmbeddedResource(mcp.ResourceContents{
499499
URI: fmt.Sprintf("db://schema/%s", tableName),
500500
MIMEType: "application/json",

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/mark3labs/mcp-go/commit/716eabedfef62d99a04b749472b8cef27b404fa3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy