MCPcopy Create free account
hub / github.com/docker/docker-agent / printModelsDevAllowance

Function printModelsDevAllowance

cmd/root/sandbox.go:508–510  ·  view source on GitHub ↗

printModelsDevAllowance prints that the models.dev catalog host is always allowlisted in the sandbox proxy, since every run resolves model metadata against it.

(w io.Writer)

Source from the content-addressed store, hash-verified

506// always allowlisted in the sandbox proxy, since every run resolves
507// model metadata against it.
508func printModelsDevAllowance(w io.Writer) {
509 fmt.Fprintf(w, "Models catalog: allowlisting %s in the sandbox proxy\n", modelsdev.APIHost)
510}
511
512// printToolInstallAllowance prints a multi-line description of the
513// package-host allowlist opened for this sandbox: a one-liner

Callers 2

runInSandboxFunction · 0.85

Calls

no outgoing calls

Tested by 1