mcp: add support for logging level (SEP-2575) (#997)
## Description This PR adds the support for logging feature in meta. Fixes #966
This commit is contained in:
parent
d9714c61f1
commit
00d3642840
1 changed files with 67 additions and 10 deletions
|
|
@ -441,7 +441,9 @@ func (h *StreamableHTTPHandler) ephemeralConnectOpts(req *http.Request) (opts *S
|
|||
if !hasInitialized && !usesNewProtocol {
|
||||
state.InitializedParams = new(InitializedParams)
|
||||
}
|
||||
state.LogLevel = "info"
|
||||
if !usesNewProtocol {
|
||||
state.LogLevel = "info"
|
||||
}
|
||||
return &ServerSessionOptions{
|
||||
State: state,
|
||||
}, usesNewProtocol, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue