( ctx context.Context, id string, queueEntryID string, )
| 2995 | } |
| 2996 | |
| 2997 | func (c *unixSocketClient) CancelQueuedSessionPrompt( |
| 2998 | ctx context.Context, |
| 2999 | id string, |
| 3000 | queueEntryID string, |
| 3001 | ) (SessionPromptRecord, error) { |
| 3002 | entryID, err := requireNetworkPathValue("queue_entry_id", queueEntryID) |
| 3003 | if err != nil { |
| 3004 | return SessionPromptRecord{}, err |
| 3005 | } |
| 3006 | path, err := c.sessionScopedPath(ctx, id, "/prompt/queue/"+url.PathEscape(entryID)) |
| 3007 | if err != nil { |
| 3008 | return SessionPromptRecord{}, err |
| 3009 | } |
| 3010 | return c.doSessionPrompt(ctx, http.MethodDelete, path, nil, nil) |
| 3011 | } |
| 3012 | |
| 3013 | func (c *unixSocketClient) StreamPromptSession( |
| 3014 | ctx context.Context, |
nothing calls this directly
no test coverage detected