mcp: align PromptHandler args with other handlers (#348)
The second arg is a GetPromptRequest. Fixes #300.
This commit is contained in:
parent
5fd06ae8b7
commit
e3e8aaf024
1 changed files with 8 additions and 8 deletions
|
|
@ -126,6 +126,6 @@ func testIterator[T any](t *testing.T, seq iter.Seq2[*T, error], want []*T) {
|
|||
}
|
||||
}
|
||||
|
||||
func testPromptHandler(context.Context, *mcp.ServerSession, *mcp.GetPromptParams) (*mcp.GetPromptResult, error) {
|
||||
func testPromptHandler(context.Context, *mcp.GetPromptRequest) (*mcp.GetPromptResult, error) {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue