mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-03 16:10:37 +00:00
fix: name the extension as the reason read_s3_file skips a file
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
43a2f66832
commit
9474ddab97
@@ -256,7 +256,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