Bug
Tab descriptions generated by auto_describe occasionally display trailing ''' or ``` characters, e.g. a tab showing "Running shell commands'''".
Cause
llama3.2 sometimes wraps its response in triple quotes or triple backticks. The raw Ollama response was taken as-is without stripping these wrappers (main.rs:150).
Fix
Already merged in commit d6c6924c — added trim_matches('\'') and trim_matches('')` after the initial trim on the Ollama response.
Steps to reproduce
- Have
llama3.2 loaded in Ollama
- Trigger
auto_describe on any pane
- Observe tab description with
''' suffix (intermittent — depends on model output)
Bug
Tab descriptions generated by
auto_describeoccasionally display trailing'''or```characters, e.g. a tab showing "Running shell commands'''".Cause
llama3.2sometimes wraps its response in triple quotes or triple backticks. The raw Ollama response was taken as-is without stripping these wrappers (main.rs:150).Fix
Already merged in commit
d6c6924c— addedtrim_matches('\'')andtrim_matches('')` after the initial trim on the Ollama response.Steps to reproduce
llama3.2loaded in Ollamaauto_describeon any pane'''suffix (intermittent — depends on model output)