MCPcopy Index your code
hub / github.com/docker/docker-agent / IsReadOnly

Method IsReadOnly

pkg/app/app.go:1101–1103  ·  view source on GitHub ↗

IsReadOnly returns true when the session is in read-only mode and no new messages should be sent to the LLM.

()

Source from the content-addressed store, hash-verified

1099// IsReadOnly returns true when the session is in read-only mode and no new
1100// messages should be sent to the LLM.
1101func (a *App) IsReadOnly() bool {
1102 return a.readOnly
1103}
1104
1105func (a *App) CompactSession(ctx context.Context, cancel context.CancelFunc, additionalPrompt string) {
1106 a.cancel = cancel

Callers 7

editorOptsMethod · 0.80
updateMethod · 0.80
handleSendMsgMethod · 0.80
handleRetryMethod · 0.80
submitMethod · 0.80
enqueueOrRunMethod · 0.80

Calls

no outgoing calls

Tested by 1