joeyutong commented on PR #1382:
URL: https://github.com/apache/flink-agents/pull/1382#issuecomment-7093103303

   Thanks for the detailed review! Updated the branch to address the feedback:
   
   - **Named `MEDIA_MODEL` setups**: Added `ResourceType.MEDIA_MODEL` with 
framework-provided task setups (`SpeechSynthesisModelSetup`, 
`TranscriptionModelSetup`, `ImageGenerationModelSetup`, 
`VideoGenerationModelSetup`) in Java, Python, and YAML (`media_models`), so 
models and default parameters can be declared once and reused across Actions 
while keeping `BaseMediaModelProvider` as the single provider extension point 
(and preserving `AsyncJobModel` and task-specific interfaces). Updated the docs 
and media example accordingly.
   - **Cancellation-aware Java bridge polling**: Moved async polling to the 
Java bridge using single-observation `fetch()` and interruptible waits across 
both `wait()` and submit-and-wait convenience paths, stopping local waiting on 
interruption without auto-canceling remote jobs or journaling cancellation as a 
business failure.
   - **DashScope TTS `extra_input`**: Moved TTS controls (`rate`, `volume`, 
`language_hints`, `instruction`) to `extra_input` and added HTTP request-body 
verification tests.
   
   Once these changes look good, I'll reorganize the branch into the three 
logical commits and rebase onto the latest `main` as requested.


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