add Threads field to transcriber config for local providers
This commit is contained in:
+8
-7
@@ -10,16 +10,17 @@ Started: Sun Feb 1 12:22:47 AM CET 2026
|
||||
- Full 57 language list from OpenAI Whisper
|
||||
- All tests passing, typecheck passes
|
||||
|
||||
### Task 8: Migrate OpenAI provider to new Model structure
|
||||
- Added gpt-4o-transcribe and gpt-4o-mini-transcribe transcription models
|
||||
- Removed gpt-4-turbo and gpt-3.5-turbo LLM models (not in PRD)
|
||||
- OpenAI now has 5 models: 3 transcription (whisper-1, gpt-4o-transcribe, gpt-4o-mini-transcribe) + 2 LLM (gpt-4o-mini, gpt-4o)
|
||||
- All models have AdapterType='openai', Endpoint with BaseURL='https://api.openai.com'
|
||||
- All models use language.AllLanguageCodes() for SupportedLanguages (57 languages)
|
||||
- Updated provider_test.go to expect 3 transcription and 2 LLM models
|
||||
### Task 16: Update config.ToTranscriberConfig to work with new architecture
|
||||
- Added `Threads int` field to `TranscriptionConfig` in types.go (for local transcription CPU threads)
|
||||
- Added `Threads int` field to `transcriber.Config` struct
|
||||
- Updated `ToTranscriberConfig()` to pass Threads from config
|
||||
- Updated config template in save.go with `threads = 0` and comment explaining auto-detection (NumCPU-1)
|
||||
- Added whisper-cpp to provider list in config template
|
||||
- Config package doesn't import provider - factory handles model lookup
|
||||
- All tests passing, typecheck passes
|
||||
|
||||
|
||||
|
||||
### Task 3: Create Model type with full metadata
|
||||
- Created `internal/provider/model.go`
|
||||
- ModelType enum: Transcription, LLM
|
||||
|
||||
Reference in New Issue
Block a user