Skip to content

request-logger: no Claude Code + Vertex AI support (wizard prints ANTHROPIC_BASE_URL, which Vertex mode ignores) #33

Description

@mattpocock

A student joining the course uses Vertex AI (via their company) to access Anthropic models, not the direct Anthropic API. Their ~/.zshrc has:

export CLAUDE_CODE_USE_VERTEX=1
export CLOUD_ML_REGION=global
export ANTHROPIC_VERTEX_PROJECT_ID=vertex-model-runners

request-logger's wizard, run for Claude Code, printed:

ANTHROPIC_BASE_URL=http://localhost:8787/ ENABLE_TOOL_SEARCH=true claude

Running that produces an empty request-logger/logs/ folder — no requests are captured.

Reported in the course Slack (#ai-coding-crash-course):

I just joined AI coding crash course and have trouble configure the request-logger. my company use Vertex AI to access Anthropic models. after request-logger came up w/ "ANTHROPIC_BASE_URL=http://localhost:8787/ ENABLE_TOOL_SEARCH=true claude" but it doesn't log requests.

The catalogue in request-logger/agents.ts has exactly one provider for Claude Code ("Anthropic", api.anthropic.com, sets ANTHROPIC_BASE_URL). There is no Vertex AI provider entry, so this is an unsupported setup today, not just a misconfiguration.

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

    enhancementNew feature or requestneeds-infoWaiting on reporter for more information

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions