mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-03 16:10:37 +00:00
Merge session-s3-files-tool into session-s3-query-table
This commit is contained in:
@@ -265,7 +265,7 @@ async fn read_s3_file(ctx: &Ctx<'_>, args: &Value) -> ToolResult {
|
||||
// could not see the file either, even while it is open in the side panel.
|
||||
let reason = match preview["msg"].as_str() {
|
||||
Some(m) if m.starts_with("Preview is not available") => {
|
||||
"it is not a text, table or image file"
|
||||
"it does not read files with this extension"
|
||||
}
|
||||
Some(m) => m,
|
||||
None => "the server returned no content",
|
||||
|
||||
Reference in New Issue
Block a user