This commit is contained in:
ran.shang
2026-01-10 18:54:42 +08:00
parent d22300ac6a
commit 9ee48d941c
13 changed files with 102 additions and 47 deletions

View File

@@ -102,6 +102,15 @@ public class DifyClient {
public String getFilename() {
return request.getFileName();
}
/* @Override
public String getDescription() {
try {
return HttpURLConnection.guessContentTypeFromStream(request.getInputStream());
} catch (IOException e) {
return null;
}
}*/
};
body.add("file", fileResource);