Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Added missing return preventing SIGSEGV because of missing resp (#621)

Luc Stepniewski4aa0976a2e2e
diff --git a/cmd/cmd.go b/cmd/cmd.go
index bbb354a07..ac2cf04e5 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -647,6 +647,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {
resp, err := server.GetModelInfo(model)
if err != nil {
fmt.Println("error: couldn't get model")
+ return err
}
switch args[1] {