Skip to content

How to set? ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_MODEL, etc??? #378

@bpawnzZ

Description

@bpawnzZ

For instance i am trying to use this with z.ai

z.ai offers a anthropic endpoint and i can run claude code like below.. Is there a way to set this with opcode. opcode doesn't recognize these being set in the environment the way Claude Code does.

EX. How i run Claude Code

╰─$ ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic ANTHROPIC_AUTH_TOKEN=your_api_key ANTHROPIC_MODEL=glm-4.5-air CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 claude```

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