fix(files): detect CSV dialect before parsing

This commit is contained in:
Mikei386 committed 2026-08-24 07:05:04 +02:00
1 parent e24839bfe1
commit c3121281de
4 files changed
+16 -4

No files matched your search

+5 -2
View File
@@ -202,8 +202,11 @@ params = {
"Python code interpreter with pandas/openpyxl. Never send private file names, "
"contents, values, account data, categories, or derived search terms to any "
"web or MCP tool. Do not use Knowledge/RAG retrieval to calculate table totals. "
"Inspect the columns and locale-specific number/date formats, compute exact "
"aggregates, reconcile the result, and always provide a visible final answer. "
"Inspect a small raw preview first. Detect encoding, delimiter, quoting, metadata "
"lines, header row, decimal separator and date format before parsing. Do not begin "
"with a blind pandas.read_csv(path) call; use csv.Sniffer or sep=None with the "
"Python engine for discovery, then parse with explicit verified parameters. "
"Compute exact aggregates, reconcile the result, and always provide a visible final answer. "
"For GitHub repository implementation details, README files, source trees, "
"API routes, or code search, use the dedicated official GitHub repository "
"tool instead of guessing from ordinary web results. Use general web search "