Files
buzz/desktop
Michael Neale 5ed5925a51 fix(desktop): picking Auto on shared compute no longer blocks Create
Selecting "Auto" for a Buzz shared compute agent left Create/Save greyed
out. The submit gate requires a non-empty model on the raw provider/model
pair (`agentAiConfigurationModeSatisfied`), and the model dropdown wrote
blank for Auto.

Blank was also wrong on its own terms. Blank means *inherit the global
model*, so an agent whose model came out blank ran shared compute against
whatever unrelated model global config named - a Claude id sent to a local
mesh node. And `"auto"` is a trigger token rather than a final choice:
Buzz sets BUZZ_AGENT_PREFER_MESH_FOR_AUTO for this provider, and
buzz-agent rewrites exactly `"auto"` to mesh-llm's virtual `mesh` model
once the catalog advertises it (which mesh-llm does automatically at two
or more models). Any concrete model id defeats that translation, so the
old blank encoding could never reach Mixture-of-Agents.

The rest of the feature already encoded shared-compute Auto as `"auto"`
(provider selection, the global model control); the model dropdown handler
was the one inconsistent path. Ordinary providers keep blank, which is the
generic inheritance encoding everywhere else - existing blanks are not
migrated.

`isRelayMesh` is an optional parameter, defaulting to the selection's own
provider. The dialogs derive the value already and would ideally pass it
for the inherited-provider case, but both files sit at the size ceiling
and may not grow; the parameter is there for whoever splits them.

The existing test enshrined unconditional Auto -> blank. It is now split by
provider, with coverage for the inference fallback and the explicit flag.

Signed-off-by: Michael Neale <michael.neale@gmail.com>
2026-08-06 14:56:21 +10:00
..
2026-08-03 21:51:17 -04:00
…

Buzz

Desktop chat shell with:

  • Tauri + React + TypeScript + Vite
  • Tailwind CSS
  • shadcn/ui-ready shared components
  • Biome (lint/format/check)
  • Feature-driven frontend structure

Scripts

  • pnpm dev - run the web frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm format - Biome format (write)
  • pnpm check - Biome check

Structure

  • src/shared - reusable app-wide code (ui, lib, styles)
  • src/features - feature modules (vertical slices)
  • src/app - top-level app composition