Skip to content

Commit 5392aab

Browse files
authored
fix: separate sessionNotFoundMessage into its own const block (SA9004)
1 parent 387ac10 commit 5392aab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/mcp/http_transport.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ const (
3232
HTTPTransportSSE HTTPTransportType = "sse"
3333
// HTTPTransportPlainJSON uses plain JSON-RPC 2.0 over HTTP POST (non-standard)
3434
HTTPTransportPlainJSON HTTPTransportType = "plain-json"
35-
sessionNotFoundMessage = "session not found"
3635
)
3736

37+
const sessionNotFoundMessage = "session not found"
38+
3839
// MCPProtocolVersion is the MCP protocol version used only by the plain JSON-RPC
3940
// fallback path in this package. Streamable and SSE transports are SDK-managed
4041
// and negotiate protocol versions internally.

0 commit comments

Comments
 (0)