fix(cli): validate user-defined providers consistently#14857
Closed
LeonSGP43 wants to merge 1 commit into
Closed
Conversation
Collaborator
Contributor
|
Merged via #15083 — your commit was cherry-picked onto current main with authorship preserved in Clean, focused fix. Thanks! |
19 tasks
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
┌─────────────────────────────────────────────────────────┐
│ 🩺 Hermes Doctor │
└─────────────────────────────────────────────────────────┘
◆ Python Environment
✓ Python 3.12.8
⚠ Not in virtual environment (recommended)
◆ Required Packages
✓ OpenAI SDK
✓ Rich (terminal UI)
✓ python-dotenv
✓ PyYAML
✓ HTTPX
⚠ Croniter (cron expressions) (optional, not installed)
⚠ python-telegram-bot (optional, not installed)
⚠ discord.py (optional, not installed)
◆ Configuration Files
✓ ~/.hermes/.env file exists
✓ API key or custom endpoint configured
✓ ~/.hermes/config.yaml exists
✗ model.provider 'kimi-coding' is not a recognised provider (known: ai-gateway, alibaba, anthropic, arcee, auto, bedrock, copilot, copilot-acp, custom, deepseek, gemini, google-gemini-cli, huggingface, kilocode, kimi-coding, kimi-coding-cn, minimax, minimax-cn, nous, nvidia, ollama-cloud, openai-codex, opencode-go, opencode-zen, openrouter, qwen-oauth, stepfun, xai, xiaomi, zai)
⚠ Config version outdated (v16 → v22) (new settings available)
◆ Auth Providers
⚠ Nous Portal auth (not logged in)
✓ OpenAI Codex auth (logged in)
⚠ Google Gemini OAuth (not logged in)
✓ codex CLI
◆ Directory Structure
✓ ~/.hermes directory exists
✓ ~/.hermes/cron/ exists
✓ ~/.hermes/sessions/ exists
✓ ~/.hermes/logs/ exists
✓ ~/.hermes/skills/ exists
✓ ~/.hermes/memories/ exists
✓ ~/.hermes/SOUL.md exists (persona configured)
✓ ~/.hermes/memories/ directory exists
→ MEMORY.md not created yet (will be created when the agent first writes a memory)
→ USER.md not created yet (will be created when the agent first writes a memory)
✓ ~/.hermes/state.db exists (91 sessions)
◆ Command Installation
✓ Venv entry point exists (.venv/bin/hermes)
⚠ ~/.local/bin/hermes points to wrong target (→ /Users/leongong/Library/Python/3.12/bin/hermes, expected → /Users/leongong/Desktop/LeonProjects/gho_workspace/hermes-agent/.venv/bin/hermes)
◆ External Tools
✓ git
✓ ripgrep (rg) (faster file search)
✓ docker (optional)
✓ Node.js
⚠ agent-browser not installed (run: npm install)
◆ API Connectivity
⚠ OpenRouter API (not configured)
Checking Kimi / Moonshot API...
⚠ Kimi / Moonshot (HTTP 402)
◆ Submodules
⚠ tinker-atropos not found (run: git submodule update --init --recursive)
◆ Tool Availability
✓ browser
✓ clarify
✓ code_execution
✓ cronjob
✓ delegation
✓ file
✓ image_gen
✓ memory
✓ terminal
✓ session_search
✓ skills
✓ todo
✓ tts
✓ vision
⚠ browser-cdp (system dependency not met)
⚠ discord (missing DISCORD_BOT_TOKEN)
⚠ feishu_doc (system dependency not met)
⚠ feishu_drive (system dependency not met)
⚠ homeassistant (system dependency not met)
⚠ moa (missing OPENROUTER_API_KEY)
⚠ rl (missing TINKER_API_KEY, WANDB_API_KEY)
⚠ messaging (system dependency not met)
⚠ web (missing EXA_API_KEY, PARALLEL_API_KEY, TAVILY_API_KEY, FIRECRAWL_API_KEY, FIRECRAWL_API_URL)
◆ Skills Hub
✓ Skills Hub directory exists
⚠ No GITHUB_TOKEN (60 req/hr rate limit — set in ~/.hermes/.env for better rates)
◆ Memory Provider
✓ Built-in memory active (no external provider configured — this is fine)
────────────────────────────────────────────────────────────
Found 4 issue(s) to address:
Tip: run 'hermes doctor --fix' to auto-fix what's possible. to validate and saved custom providers alongside built-in providers
Closes #14850
Testing