MCPcopy Create free account
hub / github.com/codehamr/codehamr / Default

Function Default

internal/config/config.go:98–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 URLOverride string `yaml:"-"`
97}
98
99func Default() *Config {
100 models := make(map[string]*Profile, len(managedProfiles))
101 for name, p := range managedProfiles {
102 cp := p
103 models[name] = &cp
104 }
105 return &Config{
106 Active: "local",
107 Models: models,
108 }
109}
110
111// Bootstrap returns the config for the current project, creating .codehamr/

Callers 1

BootstrapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected