[codex] Harden context compression history handling (#848)
* Use token threshold for chat compression * Add compression settings controls * Use config for chat compression * Cover protected messages in compression tests * Remove message-count compression limit * Harden compression window fallback * Rebuild stale compression snapshots * Harden stale compression snapshots * Update changelog for compression hardening * Prefer local history session details
This commit is contained in:
@@ -549,6 +549,7 @@ export default {
|
||||
account: 'アカウント',
|
||||
agent: 'エージェント',
|
||||
memory: 'メモリ',
|
||||
compression: '圧縮',
|
||||
session: 'セッション',
|
||||
privacy: 'プライバシー',
|
||||
apiServer: 'API サーバー',
|
||||
@@ -599,6 +600,18 @@ export default {
|
||||
userCharLimit: 'ユーザープロファイル文字数上限',
|
||||
userCharLimitHint: 'USER.md の最大文字数',
|
||||
},
|
||||
compression: {
|
||||
enabled: '圧縮を有効化',
|
||||
enabledHint: '長いチャット履歴がモデルコンテキストを超える前に自動圧縮',
|
||||
threshold: '圧縮しきい値',
|
||||
thresholdHint: '推定トークンがこのコンテキスト比率を超えたら圧縮を開始',
|
||||
targetRatio: '目標比率',
|
||||
targetRatioHint: '圧縮後の履歴サイズをコンテキスト比率で指定',
|
||||
protectLastN: '直近メッセージを保護',
|
||||
protectLastNHint: 'この数の最新メッセージは圧縮しない',
|
||||
protectFirstN: '先頭メッセージを保護',
|
||||
protectFirstNHint: 'この数の最初のメッセージは圧縮しない',
|
||||
},
|
||||
session: {
|
||||
mode: 'リセットモード',
|
||||
modeHint: 'セッションリセットのトリガー条件',
|
||||
@@ -953,6 +966,7 @@ export default {
|
||||
new_0_5_30_6: 'Harden Windows compatibility for path detection, file downloads, and job/update subprocesses so they no longer flash terminal windows',
|
||||
new_0_5_30_7: 'Fix config writes and provider presets: validate .env keys, route FUN-Codex through the Responses API, and refresh Z.AI/GLM model lists',
|
||||
new_0_5_30_8: 'Polish frontend details including collapsed sidebar layout, short group labels, sidebar divider, and conversation outline styling',
|
||||
new_0_5_30_9: 'Context compression now follows Profile compression settings and hardens stale snapshots by reusing previous summaries with a safe tail instead of recompressing full history',
|
||||
new_0_5_5_1: '🎉 労働者の日!今日はお休みです、何卒ご理解ください',
|
||||
new_0_5_5_2: 'Hermesセッション履歴ページを追加',
|
||||
new_0_5_5_3: '履歴ページはアクティブチャットに干渉せずにセッション管理',
|
||||
|
||||
Reference in New Issue
Block a user