返回 DeepSeek-Reasonix
transport_sse.go
根目录 / internal / plugin / transport_sse.go
1 package plugin
2
3 import "context"
4
5 // newSSETransport keeps the legacy constructor boundary while delegating the
6 // wire protocol to the official SDK's SSEClientTransport.
7 func newSSETransport(ctx context.Context, s Spec) (*sdkSessionTransport, error) {
8 s.Type = "sse"
9 return newSDKSessionTransport(ctx, s, HostProfileCore)
10 }
11
11 lines GO