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

   [P2] Semantic routing bypasses the existing protocol adapter and therefore 
silently falls back for supported OpenAI Responses requests. 
`extract_last_user_message()` reads only raw `body.messages`, while 
`/v1/responses` carries the prompt in `body.input`; the code already provides 
`ai-protocols.get_messages(body, ctx)` to normalize Chat, Responses, Anthropic, 
and Bedrock inputs. Please extract the last user turn through that canonical 
interface and add Responses API regression coverage, ideally covering the other 
supported client protocols as well.


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