Skip to content

Draft feedback with a local model (Ollama or LM Studio) #563

Closed as not planned

Description

@Seb-GRAF

Problem

StableBar triage needs Claude Code or Codex with a cloud model. Some people only have a local model in Ollama or LM Studio, or want their configuration and crash details to stay on their Mac. Pointing the triage agent at a local model (codex --oss) isn't reliable: the playbook has the model clone the source, search it, run many GitHub searches and follow safety rules over a long session, which small local models do poorly. They loop, skip steps or invent issue numbers.

Proposal

In the Send Feedback window (#562), a Draft with button when Ollama or LM Studio runs on this Mac. StableBar runs fixed steps itself and asks the model only for short answers it can check:

  1. Find the server: Ollama at 127.0.0.1:11434 or LM Studio at 127.0.0.1:1234, and list their models. The user picks one; StableBar remembers it in its preferences, not in the configuration file.
  2. Classify: from the user's text, the model answers bug or idea, plus three to five short search queries.
  3. Search: StableBar runs the queries on GitHub (through gh when signed in, the public search API otherwise) and reads the top matches' titles and opening text.
  4. Match: the model says which match, if any, is the same problem, and why.
  5. Draft: the model fills the form's fields: What happens, Steps to reproduce and Expected for a bug; Problem and Proposal for an idea. StableBar adds Environment and the chosen crash itself.
  6. The draft fills the window's fields; the user edits it and sends it with the window's usual options.

What keeps it reliable:

  • Every answer has a JSON schema. Both servers accept a schema for the reply. StableBar validates the answer, retries once, then stops at that step.
  • The plain window is the fallback. No server, a timeout, a bad answer or Cancel leaves the user's text untouched. Sending feedback never depends on the model.
  • The model can't act. It never runs commands, reads files or posts. It sees only the user's text, the redacted bug report and the search results. Only the search queries leave the Mac, to GitHub.
  • No invented links. StableBar drops any issue number that wasn't in the search results.
  • Small inputs. Each step fits a small context window: one crash summary and the top five matches, each cut to its opening text.
  • Tested against a fake server that returns bad JSON, slow replies and invented issue numbers, and checked by hand with the models the guide lists as tested.

Out of scope: running the full triage agent on a local model.

Possible today

  • Settings → Status → Report a problem fills the bug form, written by hand.
  • StableBar triage with Claude Code or Codex on a cloud model.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 11, 2026
  2. Seb-GRAF commented on Nov 11, 2026

    @Seb-GRAF
    CollaboratorAuthor

    a lot of work for few people, let's first see if anyone uses Send feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions