summaryrefslogtreecommitdiff
path: root/internal/processor/processor_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-02 22:14:42 +0300
committerPaul Buetow <paul@buetow.org>2026-04-02 22:14:42 +0300
commitbd23c3f3e53bced44b5ecf0b0c6a74a3cc2f9875 (patch)
tree91cac9e85dc6bb5f76fca9def6d8ffe047082b9c /internal/processor/processor_test.go
parent730152379886f1a7dd7c36d68918706c82ad718d (diff)
task 00j: separate OpenAI vs Gemini provider-specific config fields [ISP]
Introduce OpenAIAudioConfig and GeminiAudioConfig sub-structs so each provider implementation only receives the fields it needs. NewOpenAIProvider and NewGeminiProvider now accept their respective sub-configs; NewProvider extracts the appropriate sub-config from the flat Config via two helper functions. The flat Config struct is preserved unchanged for all external callers (gui, processor, tests) so no consumer needs to be updated. InstructionForProvider in sidecar.go uses the helpers to extract sub-configs before calling provider-specific helpers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/processor_test.go')
0 files changed, 0 insertions, 0 deletions