Skip to content

lapdog: Claude Code with Bedrock doesn't show token/cost live #406

Description

@cheesemacfly

When running Claude Code against Bedrock (CLAUDE_CODE_USE_BEDROCK=1), lapdog claude captures spans but they show no token/cost data. The fetch interceptor in claude_interceptor.mjs only routes direct anthropic urls through the proxy and Bedrock calls don't match. Backfilling with lapdog claude --backfill works for historical sessions.

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