feat: models test and fixes

This commit is contained in:
leonardotrapani
2026-02-02 01:13:33 +01:00
parent 2729882b9d
commit 195f9f5115
34 changed files with 507 additions and 154 deletions
+1 -4
View File
@@ -29,11 +29,8 @@ func TestDeepgramProvider_Models(t *testing.T) {
t.Errorf("Models() returned %d models, want 2", len(models))
}
// all models should support both batch and streaming
// all models should support both streaming and batch
for _, m := range models {
if !m.SupportsBatch {
t.Errorf("model %s should support batch", m.ID)
}
if !m.SupportsStreaming {
t.Errorf("model %s should support streaming", m.ID)
}