gnodet commented on PR #30725:
URL: https://github.com/apache/camel/pull/30725#issuecomment-7213909101

   Thanks @davsclaus for the thorough reviews. Here are the answers to the 
remaining open questions from your third review (commit 45a4a6db):
   
   **1. Bearer auth leaking to anthropic/vertex** — fixed in 45a4a6db. 
`isEndpointReachable()` now guards the `Authorization: Bearer` header with 
`apiType == null || apiType == ApiType.openai`, so anthropic and vertex 
endpoints get an unauthenticated probe as intended.
   
   **2. `--api-type=ollama --url .../v1` passing detection, then failing on 
`/v1/api/generate`** — also fixed in 45a4a6db. The Ollama `/api/tags` probe now 
uses `stripTrailingSlash(endpoint)` as the base (instead of the base derived 
from the OpenAI-normalized URL), so `--url http://host:11434/v1` probes 
`/v1/api/tags` which correctly fails. Detection no longer passes for that case.
   
   **3. JIRA bullet 3: 401/403 should report "server reachable but key 
rejected"** — won't do in this PR, to keep the scope focused on the two 
original bugs. Filed as a follow-up: the 401/403 diagnostic message improvement 
can be addressed in a separate JIRA.
   
   _This comment was generated by an AI agent, Hermès on behalf of @gnodet._


-- 
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]

Reply via email to