hengyuss opened a new pull request, #7876: URL: https://github.com/apache/shenyu/pull/7876
Part of #7871 ## Summary - introduce `PreparedAiRequest` to carry the upstream request and its request-scoped response adapter - keep `AiUpstreamRequest` limited to transport request data and preserve compatibility for existing providers with an identity adapter - apply provider, request-scoped, and client protocol response conversions in an explicit order - cover legacy providers, OpenAI-compatible conversion, and orchestration ordering ## Tests ```text ./mvnw -pl shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-proxy -am -Dtest=AiProxyProviderFactoryTest,OpenAiProviderOptionsTest,AiProxyEngineOrchestrationTest -Dsurefire.failIfNoSpecifiedTests=false test -Drat.skip=true -Djacoco.skip=true ``` Tests run: 67, Failures: 0, Errors: 0, Skipped: 0. Checkstyle passed. Make sure that: - [ ] You have read the contribution guidelines. - [x] You submit test cases (unit or integration tests) that back your changes. - [ ] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`. -- 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]
