diff --git a/backend/windmill-api/src/ai_session_tools/storage.rs b/backend/windmill-api/src/ai_session_tools/storage.rs index 060710c6eb..c2d18b96de 100644 --- a/backend/windmill-api/src/ai_session_tools/storage.rs +++ b/backend/windmill-api/src/ai_session_tools/storage.rs @@ -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",