xenodium / chatgpt-shell

A multi-llm Emacs shell (ChatGPT, Claude, Gemini, Ollama, Perplexity) + editing integrations
https://lmno.lol/alvaro
GNU General Public License v3.0
866 stars 77 forks source link

Switch to using a real csv parser #128

Closed Lenbok closed 1 year ago

Lenbok commented 1 year ago

There are a couple of emacs CSV parsing libraries that seem to handle quoted fields and embedded commas. This PR plugs in one of those.

(BTW - the "ignoring empty prompts" filter of the previous impl doesn't seem needed, so left it out as YAGNI)

Fixes: #126