Repository navigation
feat(tui): おすすめプリセット(品質下限つき最安モデル)と共有モデルの取り違え修正 - #65
Merged
Merged
Conversation
- おすすめ役割を追加し、品質下限を満たす最安モデルへ自動で追従させる - 同じモデルに解決する複数役割を、選択時に消さないようにする - 選択中の役割を保持し、矢印巡回と表示が別役割を取り違えないようにする - 重なった model.json 保存を直列化し、古い状態が後勝ちするのを防ぐ
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
teai の
cheapが Sente から選べない問題に対応し、トップからも選べる「おすすめ」役割を追加します。変更
model-presets.ts:recommended(seedcheap、pick: cheapest、context 100万 / output 32,768 下限)を追加。alias・-cache・tier課金・tool calling非対応・小型contextは除外し、条件内の最安へカタログ更新・価格変更に追随。dialog-model.tsx: 自動更新の説明を役割ごとに表示。local.tsx: 共有モデルで役割が消えるバグ、矢印巡回・表示の役割取り違え、model.json保存競合を修正。検証
bun turbo typecheck --filter=@sente-ai/tui: 成功bun test test/cli/tui/model-presets.test.tsx test/util/model-presets.test.ts: 31 pass / 0 failtest/cli/tui全体: 95 pass / 1 skip / 0 failoxlint: 警告9・エラー0(変更前と同数)前回 PR #62 は base が古い中間ブランチ
cd-missing-pathで無関係コミットを含んでいたため、現行統合ブランチheadless-model-fallback起点に本差分のみで作り直しました。