Choose models per role and show each claim's model calls and cost

Open
#359 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
playwright, python, react, typescript

Research direction

Start by reading the workflow and model connection code, the automation settings UI, and the claim usage display; the issue does not name specific files, so trace these entry points from the existing usage records. Run the workflow and browser tests to learn the fixture and localization patterns. Verify that planning and proving use their selected models, and that claim totals by role match recorded attempts in both languages.

Written by the indexing model from the issue text.

Description

area:web difficulty:d3 layer:ai priority:p2 status:triage type:feature

Task difficulty and Agent fit

  • D3 · 9/15. Scope 2, uncertainty 2, impact 2, verification 2, dependencies 1. Choose models per role (planning, proving, checking) and show each claim's model calls and cost.
  • Recommended configuration. Codex / GPT-6.2 Sol / xhigh, 50 and $0.90 per benchmark task. Floor 50 in the Artificial Analysis Coding Agent Index v2.1. Trellin snapshot checked 2026-11-22.
  • Required skills and verification. Python workflows, model connections, React/TypeScript and Playwright. Verify on fixtures that each role uses its model and that a claim's totals match its recorded attempts.
  • Scored baseline. 4279015 on main.

What happens

A model is chosen once per task. Every step of that task (planning, proposing proofs, checking a formalization) uses the same model, so a researcher either pays a strong model's price for routine proposals or gives planning to a weak one. Each attempt already records its input and output tokens and cost where the provider reports them, but the workbench does not show what a claim has used.

Published multi-agent systems pair a strong coordinator with several fast, cheap workers, and report how many model calls a result took.

Expected

  • A project's automation settings choose a model per role: Planning (the planning step and round summary), Proving (route proposals) and Checking (formalization checks). Each role defaults to the task's current model, so nothing changes until the researcher picks.
  • A claim shows its model calls and reported cost in total and per role, with attempts whose provider reports no cost counted as calls only.
  • Role choices respect the project's authorization for cloud models (D4, see #355).

Acceptance

  • A workflow test with two model connections runs a fixture task where planning and proving use different models, and the attempts record which.
  • A browser test sets per-role models and finds a claim's calls and cost matching its recorded attempts, in both languages.
  • Defaults leave existing tasks unchanged; the model adapter guide describes roles in both languages.

Decisions and contracts

Reads existing usage records. Ask before any migration or change to the signed policy format. Related: #300 (Agent role templates), #357 (Checking role), the automation budget hook.

Dominant language
Python
Stars
2
Forks
0
Avg merge
56m
Merged PRs (30d)
190

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SAFuDarren/Trellin

All issues in SAFuDarren/Trellin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.