Files
wisp-open/internal/ui/settings/settings.go
T
2026-03-26 09:56:19 -07:00

27 lines
755 B
Go

package settings
import (
"fmt"
"wis-free-v3/internal/config"
)
// ShowSettings displays current settings
func ShowSettings(cfg *config.Config) {
fmt.Println("\n=== wis-free-v3 Settings ===")
fmt.Printf("API Key: %s...%s\n", cfg.APIKey[:8], cfg.APIKey[len(cfg.APIKey)-4:])
fmt.Printf("Whisper Model: %s\n", cfg.WhisperModel)
fmt.Printf("AI Model: %s\n", cfg.AIModel)
fmt.Printf("Shortcut: %s\n", cfg.Shortcut)
fmt.Println("===========================")
}
// EditSettings provides a simple way to modify settings
func EditSettings(cfg *config.Config) error {
// For now, just return the config
// In a full implementation, this would open a dialog or prompt
fmt.Println("To edit settings, modify: ~/.wis-free-v3/config.json")
return nil
}