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

Function Label

pkg/codingharness/provider.go:43–52  ·  view source on GitHub ↗
(cfg *latest.HarnessConfig)

Source from the content-addressed store, hash-verified

41}
42
43func Label(cfg *latest.HarnessConfig) string {
44 if cfg == nil {
45 return ""
46 }
47 model := strings.TrimSpace(cfg.Model)
48 if model == "" {
49 return cfg.Type
50 }
51 return cfg.Type + "/" + model
52}
53
54func newClaudeCodeProvider(cfg *latest.HarnessConfig) baseharness.Provider {
55 var opts []claudecode.Option

Callers 2

agentModelLabelFunction · 0.92
TestLabelFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestLabelFunction · 0.68