AlinsRan commented on PR #13676:
URL: https://github.com/apache/apisix/pull/13676#issuecomment-5019843064

   On the embedding response body — the body never reaches a log line or a 
returned error. `_M.fetch` returns `"embedding endpoint returned status " .. 
status` for a non-2xx, and the cjson error for a decode failure; `raw_body` is 
not interpolated into either, and there is no log call carrying it. That was 
tightened in `fix(ai-proxy-multi): never log the embedding response body` and 
the constraint is stated in a comment above the function so it does not regress 
silently.
   
   On the P2 about `extract_last_user_message` bypassing the protocol adapter — 
fixed in `read semantic prompt via protocol adapter`: it now goes through 
`ai_protocols.get_messages(body, ctx)`, with TEST 23 covering the Responses API 
`body.input` shape and TEST 25 covering Anthropic, so the silent fallback is 
pinned.


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