#OAuth Problem

1 messages · Page 1 of 1 (latest)

tough stoneBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

tardy isleBOT
#

⚠️ Agent failed before reply: No API key found for provider "anthropic". Auth store: /srv/clawdbot/state/agents/main/agent/auth-profiles.json (agentDir: /srv/clawdbot/state/agents/main/agent). Configure auth for this agent (clawdbot agents add <id>) or copy auth-profiles.json from the main agentDir.
Logs: clawdbot logs --follow

golden token
#

@tardy isle how to use Claude opus 4.6 with openclaw

tardy isleBOT
# golden token <@1457407575476801641> how to use Claude opus 4.6 with openclaw

To use Claude Opus 4.6 in OpenClaw you need (1) Anthropic auth on the gateway host, then (2) select the model.

1) Authenticate Anthropic

If you have an Anthropic API key:

  • Run openclaw onboard and choose Anthropic API key, or set ANTHROPIC_API_KEY.

If you’re using a Claude subscription (no API key):

  • Generate a setup-token with the Claude Code CLI:
    claude setup-token
    
  • Then on the gateway host, paste it into OpenClaw:
    openclaw models auth paste-token --provider anthropic
    

Docs: https://docs.openclaw.ai/providers/anthropic

#

2) Switch to Opus 4.6

Quick (in chat, per-session):

/model anthropic/claude-opus-4-6

(There’s also a shortcut opusanthropic/claude-opus-4-6, but if /model opus doesn’t work in your setup, just use the full anthropic/claude-opus-4-6.)

Persist as your default (CLI):

openclaw models set anthropic/claude-opus-4-6

Or set it in config (agents.defaults.model.primary):

{
  agents: { defaults: { model: { primary: "anthropic/claude-opus-4-6" } } },