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

Function isStructuredAgentCommandError

internal/cli/root.go:254–257  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

252}
253
254func isStructuredAgentCommandError(err error) bool {
255 var identityErr *agentidentity.Error
256 return errors.As(err, &identityErr)
257}
258
259func requestedOutputFormat(args []string) OutputFormat {
260 mode := OutputHuman

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected