Skip to content

[Setup]: I use quick to install the configured custom model, and then I enter hello to display Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: 6153export #6360

@oxygen16

Description

@oxygen16

What's Going Wrong?

Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export

Steps Taken

  1. Ran the install script: 'curl -fsSL... | bash'
    1. Ran 'hermes setup' and chose "Quick setup"
    1. Selected custom, entered AP| key
    1. Ran 'hermes' and got Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export error...

Installation Method

Install script (curl | bash)

Operating System

15.7.4 (24G517)

Python Version

No response

Hermes Version

Hermes Agent v0.8.0 (2026.4.8)

Output of hermes doctor

┌─────────────────────────────────────────────────────────┐
│                 🩺 Hermes Doctor                        │
└─────────────────────────────────────────────────────────┘

◆ Python Environment
  ✓ Python 3.11.4
  ✓ Virtual environment active

◆ Required Packages
  ✓ OpenAI SDK
  ✓ Rich (terminal UI)
  ✓ python-dotenv
  ✓ PyYAML
  ✓ HTTPX
  ✓ Croniter (cron expressions) (optional)
  ✓ python-telegram-bot (optional)
  ✓ discord.py (optional)

◆ Configuration Files
  ✓ ~/.hermes/.env file exists
  ✓ API key or custom endpoint configured
  ✓ ~/.hermes/config.yaml exists
  ✓ Config version up to date (v12)

◆ Auth Providers
  ⚠ Nous Portal auth (not logged in)
  ⚠ OpenAI Codex auth (not logged in)
    → No Codex credentials stored. Run `hermes auth` to authenticate.
  ✓ 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 (0 sessions)

◆ External Tools
  ✓ git
  ✓ ripgrep (rg) (faster file search)
  ⚠ docker not found (optional)
  ✓ Node.js
  ✓ agent-browser (Node.js) (browser automation)
  ⚠ Browser tools (agent-browser) deps (0 critical, 2 high, 2 moderate — run: cd /Users/oxygen16/.hermes/hermes-agent && npm audit fix)
  ⚠ WhatsApp bridge deps (0 critical, 2 high, 1 moderate — run: cd /Users/oxygen16/.hermes/hermes-agent/scripts/whatsapp-bridge && npm audit fix)

◆ API Connectivity
  ⚠ OpenRouter API (not configured)

◆ Submodules
  ⚠ tinker-atropos not found (run: git submodule update --init --recursive)

◆ Tool Availability
  ✓ terminal
  ✓ file
  ✓ skills
  ✓ browser
  ✓ cronjob
  ✓ tts
  ✓ todo
  ✓ memory
  ✓ session_search
  ✓ clarify
  ✓ code_execution
  ✓ delegation
  ⚠ web (missing EXA_API_KEY, PARALLEL_API_KEY, TAVILY_API_KEY, FIRECRAWL_API_KEY, FIRECRAWL_API_URL)
  ⚠ vision (system dependency not met)
  ⚠ moa (missing OPENROUTER_API_KEY)
  ⚠ image_gen (system dependency not met)
  ⚠ rl (missing TINKER_API_KEY, WANDB_API_KEY)
  ⚠ messaging (system dependency not met)
  ⚠ homeassistant (system dependency not met)

◆ Skills Hub
  ⚠ Skills Hub directory not initialized (run: hermes skills list)
  ⚠ 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 3 issue(s) to address:

  1. Browser tools (agent-browser) has 4 npm vulnerability(ies)
  2. WhatsApp bridge has 3 npm vulnerability(ies)
  3. Run 'hermes setup' to configure missing API keys for full tool access

  Tip: run 'hermes doctor --fix' to auto-fix what's possible.

Full Error Output

Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export‘

What I've Already Tried

  • run update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions