File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -896,13 +896,17 @@ func (s *MCPServer) handleGetPrompt(
896896 var handler PromptHandlerFunc
897897 var ok bool
898898
899- logrus .Infof ("handleGetPrompt: %s" , request .Params .Name )
899+ logrus .Infof ("[ handleGetPrompt] : %s" , request .Params .Name )
900900
901901 session := ClientSessionFromContext (ctx )
902902 if session != nil {
903+ logrus .Infof ("[handleGetPrompt] session: %s" , session .SessionID ())
903904 if sessionWithPrompts , typeAssertOk := session .(SessionWithPrompts ); typeAssertOk {
905+ logrus .Info ("[handleGetPrompt] SessionWithPrompts: ok" )
904906 if sessionPrompts := sessionWithPrompts .GetSessionPrompts (); sessionPrompts != nil {
907+ logrus .Info ("[handleGetPrompt] GetSessionPrompts: ok" )
905908 if serverPrompt , sessionOk := sessionPrompts [request .Params .Name ]; sessionOk {
909+ logrus .Info ("[handleGetPrompt] handler: ok" )
906910 handler = serverPrompt .Handler
907911 ok = true
908912 }
You can’t perform that action at this time.
0 commit comments