2 files changed
+22
-3
No files matched your search
@@ -154,7 +154,7 @@ object ToolViewBuilder {
|
||||
): String? {
|
||||
val candidate =
|
||||
ToolJson
|
||||
.firstString(result, listOf("image_url", "url", "path", "image_path"))
|
||||
.firstString(result, listOf("image_url", "image", "url", "path", "image_path"))
|
||||
.ifEmpty { ToolJson.firstString(args, listOf("image_url", "url", "path")) }
|
||||
|
||||
if (candidate.isEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user