Merge session-s3-files-tool into session-s3-query-table

This commit is contained in:
Guilhem Lemouel
2026-12-01 04:03:16 -08:00
@@ -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",