Hacker News new | ask | show | jobs
by g-mork 111 days ago
how do you make CC talk via a proxy? I had a few googles for this and got nowhere
2 comments

set Anthropic base URL in CC to your proxy server and map each model to your preferred models (I keep opus↔opus but technically you can do opus↔gpt-5.3, etc.). then check the incoming messages for the string that triggers compaction (it's a system prompt btw) and modify that message before it hits the LLM server.
have you tried asking CC to build something that does it? I'm guessing it could.