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.
| 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. |
| 74 | type 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: |
nothing calls this directly
no outgoing calls
no test coverage detected