joeyutong opened a new issue, #1472: URL: https://github.com/apache/flink-agents/issues/1472
### Search before asking - [x] I searched the existing issues for the DashScope SDK migration. #1059 tracks multimodal content blocks and #1381 tracks the Media and Rerank resources. ### Description Flink Agents already depends on DashScope 2.x for Media and Rerank. Chat and Embedding still use the older class-level call APIs, and several Media operations assemble native HTTP requests directly. This leaves different connection lifecycles, error handling and response parsing paths within one provider. Migrate the Python integration to the native DashScope client with 2.1.0 as the minimum supported version. Chat and Embedding should reuse a connection pool, honor Flink Agents request options and translate typed SDK results into the framework's result types. Media should use the SDK job APIs wherever they select the required service endpoint. Qwen asynchronous image submission needs the image-generation endpoint even when the SDK selects the image-synthesis endpoint. Cover the observable contracts through the real SDK request and response paths, including message order, tool arguments, embedding order, usage and recovery of submitted media jobs. Document how callers move from legacy SDK-only options to the supported Flink Agents API. ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- 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]
