refactor transcriber factory to use model metadata

- factory now looks up Model via provider.GetModel()
- switches on model.AdapterType instead of provider name
- uses model.Endpoint for adapter configuration
- streaming models return clear error (not yet implemented)
- empty model falls back to provider default
- added tests for streaming and unknown model errors
This commit is contained in:
leonardotrapani
2026-02-01 01:00:21 +01:00
parent edc7a5f26b
commit 3563def987
4 changed files with 111 additions and 46 deletions
+1 -1
View File
@@ -373,7 +373,7 @@
"Streaming models return clear error until implemented",
"Typecheck passes"
],
"passes": false
"passes": true
},
{
"title": "Update config.ToTranscriberConfig to work with new architecture",