logoalt Hacker News

eric-burelyesterday at 8:17 PM3 repliesview on HN

"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.


Replies

0xblacklightyesterday at 8:43 PM

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

fishmicrowaveryesterday at 8:33 PM

Have you considered just asking claude? I'd wager you'd get up and running in <10 minutes.

show 1 reply
Havoctoday at 12:39 AM

Just install mitmproxy. Takes like 5 mins to figure out. 2 with Claude.

On phone else I’d post commands