fix: restore screenshots for README, keep hermes-chat.sh env var fix
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Simple Hermes chat loop — no TUI, works perfectly in embedded terminals
|
||||
HERMES=~/.openclaw/workspace/hermes-agent/.venv/bin/hermes
|
||||
export ANTHROPIC_API_KEY=$(grep -o 'sk-ant-[^"]*' ~/.hermes/auth-profiles.json 2>/dev/null | head -1)
|
||||
# Use ANTHROPIC_API_KEY from environment — set in your .env or shell profile
|
||||
if [ -z "$ANTHROPIC_API_KEY" ]; then
|
||||
echo "Warning: ANTHROPIC_API_KEY not set. Export it or add to ~/.hermes/.env"
|
||||
fi
|
||||
|
||||
echo "Hermes Agent (simple mode) — type your message, press Enter"
|
||||
echo "Type 'exit' to quit"
|
||||
|
||||
Reference in New Issue
Block a user