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

Struct Profile

internal/config/config.go:73–78  ·  view source on GitHub ↗

Profile is one named model endpoint in config.yaml; `/models` switches between them. ContextSize is omitempty so server-managed cloud profiles omit it on disk while user-managed profiles round-trip a concrete value.

Source from the content-addressed store, hash-verified

71// Profile is one named model endpoint in config.yaml; `/models` switches
72// between them. ContextSize is omitempty so server-managed cloud profiles omit
73// it on disk while user-managed profiles round-trip a concrete value.
74type Profile struct {
75 LLM string `yaml:"llm"`
76 URL string `yaml:"url"`
77 Key string `yaml:"key"`
78 ContextSize int `yaml:"context_size,omitempty"`
79}
80
81// Config is the on-disk schema at .codehamr/config.yaml. Strict decoding:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected