From bb0eadded0447366f5a2b3b7aee243b903d06900 Mon Sep 17 00:00:00 2001 From: likeaturtle Date: Tue, 17 Feb 2026 23:29:27 +0800 Subject: [PATCH] Optimize ./picoclaw status output to support all config file configurations. --- cmd/picoclaw/main.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cmd/picoclaw/main.go b/cmd/picoclaw/main.go index fd7ec484a..6a57a06fe 100644 --- a/cmd/picoclaw/main.go +++ b/cmd/picoclaw/main.go @@ -729,6 +729,11 @@ func statusCmd() { hasZhipu := cfg.Providers.Zhipu.APIKey != "" hasGroq := cfg.Providers.Groq.APIKey != "" hasVLLM := cfg.Providers.VLLM.APIBase != "" + hasMoonshot := cfg.Providers.Moonshot.APIKey != "" + hasDeepSeek := cfg.Providers.DeepSeek.APIKey != "" + hasVolcEngine := cfg.Providers.VolcEngine.APIKey != "" + hasNvidia := cfg.Providers.Nvidia.APIKey != "" + hasOllama := cfg.Providers.Ollama.APIBase != "" status := func(enabled bool) string { if enabled { @@ -742,11 +747,20 @@ func statusCmd() { fmt.Println("Gemini API:", status(hasGemini)) fmt.Println("Zhipu API:", status(hasZhipu)) fmt.Println("Groq API:", status(hasGroq)) + fmt.Println("Moonshot API:", status(hasMoonshot)) + fmt.Println("DeepSeek API:", status(hasDeepSeek)) + fmt.Println("VolcEngine API:", status(hasVolcEngine)) + fmt.Println("Nvidia API:", status(hasNvidia)) if hasVLLM { fmt.Printf("vLLM/Local: ✓ %s\n", cfg.Providers.VLLM.APIBase) } else { fmt.Println("vLLM/Local: not set") } + if hasOllama { + fmt.Printf("Ollama: ✓ %s\n", cfg.Providers.Ollama.APIBase) + } else { + fmt.Println("Ollama: not set") + } store, _ := auth.LoadStore() if store != nil && len(store.Credentials) > 0 {