Patch Changes
-
6a8e123: feat(alibaba): reasoning effort, prompt cache TTL, video input, and
qwen4-max- New
reasoningEffortprovider option, sent asreasoning_effortas given, so models such asqwen4-maxcan use named effort levels. - New
promptCacheOptionsprovider option, sent asprompt_cache_optionsfor automatic caching and a 5-minute or 1-hour cache TTL.cacheControlbreakpoints also acceptttl. The usage schema keeps undeclared fields, so thecache_creationsplit of cache writes by TTL andcache_typereachusage.raw;cache_creationis declared onAlibabaUsage. - Video file parts (
video/*) are sent as Alibabavideo_urlcontent, from a URL or as a base64 data URL. Video URLs are passed to Alibaba instead of being downloaded. Previously every non-image file part threwUnsupportedFunctionalityError. - Adds the
qwen4-maxmodel ID and capability lists: JSON Schema structured output andpreserveThinkingon by default, as Alibaba documents for the model.
- New