Skip to content

auto_describe shows ''' in tab descriptions #79

@kordless

Description

@kordless

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

  1. Have llama3.2 loaded in Ollama
  2. Trigger auto_describe on any pane
  3. Observe tab description with ''' suffix (intermittent — depends on model output)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions