(options: CodingAgentSessionOptions)
| 78 | private modelSelection: ModelSelection |
| 79 | |
| 80 | constructor(options: CodingAgentSessionOptions) { |
| 81 | this.apiKey = options.apiKey |
| 82 | this.cwd = options.cwd |
| 83 | this.force = options.force |
| 84 | this.mode = options.executionMode ?? "local" |
| 85 | this.modelSelection = options.model |
| 86 | this.agent = this.createAgent() |
| 87 | this.agentKey = this.currentAgentKey() |
| 88 | } |
| 89 | |
| 90 | get model() { |
| 91 | return this.modelSelection |
nothing calls this directly
no test coverage detected