feat: add realtime ASR voice chat with Cobra subcommand

This commit is contained in:
loveuer committed 2026-11-18 10:06:58 +08:00
1 parent dab8cbb55d
commit 74367f39e0
17 files changed
+977 -82

No files matched your search

+2 -2
View File
@@ -113,9 +113,9 @@ func TestDefaultImageCapability(t *testing.T) {
writeCompletion(w, request.Stream, "能力说明", nil)
}))
defer server.Close()
args := []string{"-base-url", server.URL}
args := []string{"--base-url", server.URL}
if !enabled {
args = append(args, "-image-model", "")
args = append(args, "--image-model", "")
}
cfg, err := config.Parse(args)
if err != nil {