Package com.alibaba.dashscope.resources.oss
package com.alibaba.dashscope.resources.oss
-
ClassesClassDescriptionRecursive media upload walk (Python v2
upload_media_valueparity): strings, lists and maps are walked; every string that is afile://URI or an existing local path is uploaded viaOssUploaderand replaced by itsoss://URL; existingoss://strings pass through and also flag the resolve header.OSS upload for local multimodal files (design J8, ported from 2.x OSSUtils): two-step flow —GET /uploads?action=getPolicy&model=fetches a short-lived policy certificate, then a multipart POST to the returnedupload_hoststores the file.Server-issued OSS policy certificate (fields named exactly as on the wire).