gnodet commented on PR #23910: URL: https://github.com/apache/camel/pull/23910#issuecomment-4675019789
@davsclaus I noticed you're using `CLAUDE_CODE_USE_VERTEX=1` — that variable is specific to Claude Code (Anthropic's CLI) and isn't recognized by camel-jbang. The `LlmClient` currently requires **both** of these to activate Vertex AI mode: - `CLOUD_ML_REGION` — the GCP region (e.g., `us-east5`) - `ANTHROPIC_VERTEX_PROJECT_ID` — the GCP project ID So the missing piece is `CLOUD_ML_REGION`. Without it, `tryVertexAi()` returns false and the client falls through to other providers. I'll update this PR to also recognize `CLAUDE_CODE_USE_VERTEX=1` as a trigger for Vertex AI mode, and support `GOOGLE_CLOUD_REGION` as an alternative region variable with a sensible default when neither region var is set. _Claude Code on behalf of Guillaume Nodet_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
