enable streaming models in TUI model picker
This commit is contained in:
@@ -283,11 +283,6 @@ func getTranscriptionModelOptions(configProvider string, currentLang string) []h
|
|||||||
var options []huh.Option[string]
|
var options []huh.Option[string]
|
||||||
|
|
||||||
for _, m := range models {
|
for _, m := range models {
|
||||||
// skip streaming models for now (not yet implemented)
|
|
||||||
if m.Streaming {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
label := buildModelLabel(m, currentLang)
|
label := buildModelLabel(m, currentLang)
|
||||||
|
|
||||||
// for local models, show installed status
|
// for local models, show installed status
|
||||||
|
|||||||
@@ -556,4 +556,10 @@ Started: Sun Feb 1 12:22:47 AM CET 2026
|
|||||||
- Updated error message to point users to Language menu: "Change language to 'Auto-detect' in the Language menu"
|
- Updated error message to point users to Language menu: "Change language to 'Auto-detect' in the Language menu"
|
||||||
- Only `cfg.Transcription.Model` saved now, not language
|
- Only `cfg.Transcription.Model` saved now, not language
|
||||||
- `cfg.Transcription.Language` can still be used as manual override but not set via TUI
|
- `cfg.Transcription.Language` can still be used as manual override but not set via TUI
|
||||||
|
- All tests passing, typecheck passes
|
||||||
|
|
||||||
|
### Task 7: Enable streaming models in TUI model picker
|
||||||
|
- Removed `if m.Streaming { continue }` filter from `getTranscriptionModelOptions()`
|
||||||
|
- Streaming models now appear in model picker: scribe_v1-streaming, scribe_v2-streaming, nova-3, nova-2, gpt-4o-realtime-preview
|
||||||
|
- `buildModelLabel()` already adds `[streaming]` tag (lines 324-327)
|
||||||
- All tests passing, typecheck passes
|
- All tests passing, typecheck passes
|
||||||
+1
-1
@@ -114,7 +114,7 @@
|
|||||||
"All streaming models show [streaming] tag in label",
|
"All streaming models show [streaming] tag in label",
|
||||||
"Typecheck passes"
|
"Typecheck passes"
|
||||||
],
|
],
|
||||||
"passes": false
|
"passes": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Add streaming section header in model picker",
|
"title": "Add streaming section header in model picker",
|
||||||
|
|||||||
Reference in New Issue
Block a user