Hacker News new | ask | show | jobs
by eric-burel 193 days ago
"You can investigate this yourself by putting a logging proxy between the claude code CLI and the Anthropic API using ANTHROPIC_BASE_URL" I'd be eager to read a tutorial about that I never know which tool to favour for doing that when you're not a system or network expert.
3 comments

Hi, post author here

We used cloudflare’s AI gateway which is pretty simple. Set one up, get the proxy URL and set it through the env var, very plug-and-play

Smart, thanks for the tip
Have you considered just asking claude? I'd wager you'd get up and running in <10 minutes.
AI is good for discovery but not validation, I wanted experienced human feedback here
agree - i've had claude one-shot this for me at least 10 times at this point cause i'm too lazy to lug whatever code around. literally made a new one this morning
Just install mitmproxy. Takes like 5 mins to figure out. 2 with Claude.

On phone else I’d post commands