Tara Menon 81d539cfee 🐛 Fix Ollama auth + config format
Fixes:
1. Added  to  (config.rs)
2. Rewrote  with dual-mode logic:
   - OpenAI-compatible mode (api_key set OR non-localhost URL):
     uses /chat/completions + Bearer auth
   - Native mode: uses /api/chat (no auth)
3. Updated  in agent_loop.rs to pass api_key
4. Updated  to pass api_key
5. Added  in main.rs — parses
   flat  format AND canonical  format
6. Added  dependency to root Cargo.toml

The
                                 o
                                 |
               - - - - - -     .---.     - - - - - -
          - - - - - - - - -  [ ^   ^ ]  - - - - - - - - -
             - - - - - - -   |  ___  |   - - - - - - -
                              `-----'
           ____ __   __  ___   _   _  ____   ___   ___  _____
          / ___|\ \ / / / _ \ | \ | ||  _ \ / _ \ / _ \|_   _|
         | |  _  \ V / / /_\ \|  \| || | | | | | | | | | | |
         | |_| |  | |  |  _  || |\  || |_| | |_| | |_| | | |
          \____/  |_|  |_| |_||_| \_||____/ \___/ \___/  |_|

        o - - - - - - -  knowledge. delivered. - - - - - - - o

  ╔══════════════════════════════════════════════╗
  ║   ज्ञानदूत GyanDoot — Setup Wizard    ║
  ╚══════════════════════════════════════════════╝

  Configure your AI provider in 4 simple steps

  This wizard will help you configure GyanDoot to connect
  to your preferred LLM provider. You can re-run this anytime.

  Select a provider:
  ────────────────────────────────────────────────────────────
   1. Alibaba (Qwen)             (alibaba)
   2. Anthropic                  (anthropic)
   3. Azure OpenAI               (azure)
   4. Amazon Bedrock             (bedrock)
   5. DeepSeek                   (deepseek)
   6. Google Gemini              (gemini)
   7. Groq                       (groq)
   8. HuggingFace                (huggingface)
   9. Kilocode                   (kilocode)
  10. MiniMax                    (minimax)
  11. Novita AI                  (novita)
  12. Ollama (Local or Cloud)    (ollama)
  13. OpenAI                     (openai)
  14. OpenRouter                 (openrouter)
  15. StepFun                    (stepfun)
  16. Together AI                (together)
  17. xAI / Grok                 (xai)
  18. Xiaomi (MiLM)              (xiaomi)
  19. ZAI (01.AI / Yi)           (zai)
  20. Custom / Other

  Enter number (1-20):  wizard writes  (singular) but
the config loader only parsed  (plural). Now both
formats work. Ollama cloud endpoints (ollama.com/v1) get proper
Bearer auth with the API key from the setup wizard.
2026-06-11 22:05:02 +05:30
2026-06-11 22:05:02 +05:30
2026-06-11 22:05:02 +05:30
2026-06-11 22:05:02 +05:30
2026-06-11 22:05:02 +05:30

GyanDoot v2.0 — AI Agent Platform

A next-generation AI Agent Platform rewritten in Rust for performance, safety, and extensibility.

Architecture

gyandoot-core        — Shared types, config, error types
gyandoot-agent       — Core agent loop, tool execution, context compression
gyandoot-providers   — LLM provider abstraction (OpenAI, Anthropic, Ollama)
gyandoot-memory      — MemPalace persistent memory system
gyandoot-platform    — Platform adapters (Telegram, Discord, Webhook, CLI)
gyandoot-security    — Credential vault, encryption, threat detection
gyandoot-kanban      — Kanban task system (decomposition, swarm, diagnostics)
gyandoot-subagents   — Sub-agent spawning and orchestration
gyandoot-skills      — Skills system (discovery, loading, preprocessing, bundles)
gyandoot-profile     — Multi-agent profile manager
gyandoot-gateway     — Gateway for platform sessions, routing, streaming

Quick Start

./install.sh
gyandoot --help

License

MIT

Description
GyanDoot v2.0 — AI Agent Platform built in Rust. Blazing fast, single binary, anti-reverse-engineered, cross-platform.
Readme 5 MiB
Languages
Rust 84.4%
JavaScript 9.1%
Shell 4.9%
PowerShell 0.8%
Batchfile 0.6%
Other 0.2%