davsclaus opened a new pull request, #25949: URL: https://github.com/apache/camel/pull/25949
Straight cherry-pick backport of #25936 (squash-merged as e3f7f4cf5282 on `main`) onto `camel-4.22.x`. No conflicts. ## Summary - `LlmClient.resolveAnthropicUrl()` built the Vertex AI Anthropic endpoint by always prefixing the host with `<region>-`. That's correct for regional locations (e.g. `us-east5`) but wrong for the `global` location, whose actual host is `aiplatform.googleapis.com` with no region prefix. - With `CLOUD_ML_REGION=global` set, requests went to the non-existent host `global-aiplatform.googleapis.com`, causing the TUI's F8 AI panel and `camel ask`/`explain`/`harden` to fail with a generic "LLM request failed" error whenever the Vertex AI auto-detect path was used with the global region. ## Test plan - [x] `mvn -q -DskipTests install` on `camel-jbang-core` (this branch) - [x] Clean cherry-pick, no conflicts _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
