Fix: banner on launch, config file loading, 7 providers match setup wizard

BUGFIXES:
- Banner now displays on 'gyandoot run' via gyandoot_tui::banner::print_banner()
- Config now loads from ~/.config/gyandoot/config.toml with fallback chain
  (XDG -> ~/.gyandoot/config.yaml -> hardcoded defaults), fixing 401 errors
- gyandoot init now writes visible placeholder api_key for users to edit

NEW PROVIDERS (4 added, now 7 total matching setup wizard):
- Google Gemini: Native API with x-goog-api-key auth, streamingGenerateContent
- DeepSeek: OpenAI-compatible wrapper at api.deepseek.com/v1
- OpenRouter: With HTTP-Referer/X-Title headers, model routing
- Groq: OpenAI-compatible wrapper at api.groq.com/openai/v1

All compile with 0 errors.
This commit is contained in:
2026-06-11 21:40:34 +05:30
parent dd21654555
commit fb01b2595a
9 changed files with 1202 additions and 13 deletions

1
Cargo.lock generated
View File

@@ -661,6 +661,7 @@ dependencies = [
"gyandoot-tui",
"serde",
"serde_json",
"serde_yaml",
"tokio",
"tracing",
"tracing-subscriber",