Commit b914c39
fix(codex): pass budget-scaled maxRenderedContextChars to legacy mirrored-history projection
- Add maxRenderedContextChars to applyFreshThreadContinuityProjection (fresh thread legacy path)
- Add maxRenderedContextChars to applyResumeStaleBindingContinuityProjection (stale binding legacy path)
- Reuse existing resolveCodexContextEngineProjectionMaxChars / resolveCodexContextEngineProjectionReserveTokens helpers
- Matches the active-context-engine pattern from PR #80761
Fixes #84084
Co-Authored-By: Claude <[email protected]>1 parent beea31a commit b914c39
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
911 | 917 | | |
912 | 918 | | |
913 | 919 | | |
| |||
1088 | 1094 | | |
1089 | 1095 | | |
1090 | 1096 | | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1091 | 1103 | | |
1092 | 1104 | | |
1093 | 1105 | | |
| |||
0 commit comments