feat: add realtime ASR voice chat with Cobra subcommand
This commit is contained in:
1 parent
dab8cbb55d
commit
74367f39e0
17 files changed
+977
-82
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user