( ctx context.Context, id string, text string, )
| 2983 | } |
| 2984 | |
| 2985 | func (c *unixSocketClient) SteerSessionPrompt( |
| 2986 | ctx context.Context, |
| 2987 | id string, |
| 2988 | text string, |
| 2989 | ) (SessionPromptRecord, error) { |
| 2990 | path, err := c.sessionScopedPath(ctx, id, "/steer") |
| 2991 | if err != nil { |
| 2992 | return SessionPromptRecord{}, err |
| 2993 | } |
| 2994 | return c.doSessionPrompt(ctx, http.MethodPost, path, nil, contract.SteerPromptRequest{Text: text}) |
| 2995 | } |
| 2996 | |
| 2997 | func (c *unixSocketClient) CancelQueuedSessionPrompt( |
| 2998 | ctx context.Context, |
nothing calls this directly
no test coverage detected