Skip to content

Detect Claude Code installation and prevent API key override conflicts #37

@iNicholasBE

Description

@iNicholasBE

Problem

When a user has Claude Code (for Teams) installed, it disallows using a separate Anthropic API key to call the Claude API from ClawRunr.

ClawRunr defaults to the Claude Code token, which is great if you want to use you Claude Code Subscription but not great if you want to use an Anthropic API key.

Expected Behavior

If a Claude Code installation is detected on the user's machine, ClawRunr should:

  1. Detect the existing Claude Code installation
  2. Give the user to option to select the Claude Code Subscription or an Anthropic API key. (The UI is a bit ambiguous at this point)

Additional Context

Thanks to Dieter Hubau for flagging this issue! He confirmed that while the Anthropic API key approach didn't work with his Claude Code for Teams setup, using a local Ollama instance worked perfectly.

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