Skip to content

feat(usage-mode): 既定を「節約」(128kで要約・古いツール出力を整理)に - #57

Merged
yukihamada merged 1 commit into
headless-model-fallbackfrom
feat/saver-default-20261103
Nov 3, 2026
Merged

yukihamada merged 1 commit into
headless-model-fallbackfrom
feat/saver-default-20261103

Conversation

@yukihamada

Copy link
Copy Markdown
Owner

お客様の長い会話で1回の入力が20万〜27万トークンまで膨らみ、半日で約6万円かかった事例
(2026-10-02)と、同じ傾向で利用を止めた外部ユーザー3人を受けて、既定の要約閾値を
256k(標準)から128k(節約)に下げる。/mode 標準・たっぷり と SENTE_MODE で従来どおり戻せる。

実測(teai/auto・お客様と同じ /te/config・150kトークン級の読み取り作業):

  • 節約(新既定): 正答して完了。自動要約6回、1回の入力の最大 166,555 tokens
  • 標準(旧既定): 228,319 tokens まで膨らんだ時点で上流が空応答を返し失敗(1回のみの試行)

テスト: core usage-mode 5/5、tui usage-mode 6/6、sente overflow-cap+compaction 67/67。
sente test/session,config,cli の失敗9件と tui の失敗3件は変更前と同一。typecheck core/tui/sente 0件。

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

戻し方: このPRを revert(既定が標準に戻る)。お客様個別には /mode 標準 で即戻せる。

🤖 Generated with Claude Code

お客様の長い会話で1回の入力が20万〜27万トークンまで膨らみ、半日で約6万円かかった事例
(2026-10-02)と、同じ傾向で利用を止めた外部ユーザー3人を受けて、既定の要約閾値を
256k(標準)から128k(節約)に下げる。/mode 標準・たっぷり と SENTE_MODE で従来どおり戻せる。

実測(teai/auto・お客様と同じ /te/config・150kトークン級の読み取り作業):
- 節約(新既定): 正答して完了。自動要約6回、1回の入力の最大 166,555 tokens
- 標準(旧既定): 228,319 tokens まで膨らんだ時点で上流が空応答を返し失敗(1回のみの試行)

テスト: core usage-mode 5/5、tui usage-mode 6/6、sente overflow-cap+compaction 67/67。
sente test/session,config,cli の失敗9件と tui の失敗3件は変更前と同一。typecheck core/tui/sente 0件。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

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.

@yukihamada
yukihamada merged commit 065344f into headless-model-fallback Nov 3, 2026
3 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant