Skip to content

Venice AI provider returns 401 Anthropic error on dGEN1 #13

Description

@claracottontail

Bug

Venice AI provider returns 401 Anthropic error on dGEN1

Root Cause

VENICE_API_KEY from EncryptedSharedPreferences is NOT injected as env var when invoking venice-router Python script via Termux intent.

Steps to Reproduce

  1. Open AndyClaw Settings
  2. Switch provider to Venice AI
  3. Enter valid Venice API key
  4. Back out and restart app
  5. Try to chat — get "401 Anthropic" error

Confirmed

  • API key is valid (HTTP 200 confirmed via direct curl test)
  • venice-router script works when key passed explicitly via env var
  • Settings write correctly to EncryptedSharedPreferences
  • Key is NOT reaching subprocess as VENICE_API_KEY env var
  • App falls back to Anthropic which returns 401 (no Anthropic key configured)

Fix Needed

Inject VENICE_API_KEY as env var when spawning skill processes, OR read from ~/.openclaw/openclaw.json as fallback.

Device

dGEN1 / ethOS / AndyClaw latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions