MCPcopy Create free account
hub / github.com/compozy/agh / SteerSessionPrompt

Method SteerSessionPrompt

internal/cli/client.go:2985–2995  ·  view source on GitHub ↗
(
	ctx context.Context,
	id string,
	text string,
)

Source from the content-addressed store, hash-verified

2983}
2984
2985func (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
2997func (c *unixSocketClient) CancelQueuedSessionPrompt(
2998 ctx context.Context,

Callers

nothing calls this directly

Calls 2

sessionScopedPathMethod · 0.95
doSessionPromptMethod · 0.95

Tested by

no test coverage detected