(_ context.Context, req types.BackendRequest)
| 30 | func (a *streamCaptureAdapter) Name() string { return a.name } |
| 31 | |
| 32 | func (a *streamCaptureAdapter) Invoke(_ context.Context, req types.BackendRequest) (types.BackendResponse, error) { |
| 33 | if a.lastStream != nil { |
| 34 | *a.lastStream = req.Options.Stream |
| 35 | } |
| 36 | return types.BackendResponse{ |
| 37 | Output: map[string]any{"ok": true}, |
| 38 | Timing: &types.BackendTiming{TTFTMs: 1, CompletionLatencyMs: 2}, |
| 39 | }, nil |
| 40 | } |
| 41 | |
| 42 | func (a *streamCaptureAdapter) Health(context.Context) error { return nil } |
| 43 |
nothing calls this directly
no outgoing calls
no test coverage detected