Skip to content

Claude Desktop Code Tab Not Loading ~/.claude/settings.json Configuration #67619

Description

@btbinaryjanitor

Expected Behavior

When ~/.claude/settings.json is configured with ANTHROPIC_BASE_URL and ANTHROPIC_CUSTOM_HEADERS environment variables, Claude Code should use those settings after application restart.

Actual Behavior

API requests from Claude Code continue routing directly to Anthropic API, bypassing the configured gateway. Gateway logs show zero requests from Claude Desktop despite correct configuration.

Steps to Reproduce

  1. Create ~/.claude/settings.json with:
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://bifrost.buildertrend.com/anthropic",
    "ANTHROPIC_CUSTOM_HEADERS": "x-bf-vk: sk-bf-..."
  }
}
  1. Completely close Claude Desktop (quit from menu)
  2. Restart Claude Desktop
  3. Check gateway logs — requests do not appear

Verification Checklist

  • Settings file exists and is readable
  • JSON syntax is valid
  • No conflicting settings.local.json
  • Application restarted after config
  • Gateway logs confirm requests are NOT routed through configured gateway

Environment

  • OS: macOS
  • Settings file location: ~/.claude/settings.json
  • Issue: Claude Code harness is not loading or applying environment variables from settings.json

Activity

  1. github-actions commented on Jul 22, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  2. github-actions commented on Sep 17, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  3. locked as resolved and limited conversation to collaborators on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions