fix(llm): classify zai token limit overflow#35671
Merged
Merged
Conversation
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Collaborator
|
good pr ty |
shaheislam
pushed a commit
to shaheislam/opencode-vim
that referenced
this pull request
Jul 7, 2026
unemployabot Bot
added a commit
to wallentx/opencode-termux
that referenced
this pull request
Jul 8, 2026
* fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore: generate * sync release versions for v1.17.14 * feat(data): improved model usage section * fix(data): refine model trend charts * chore: generate * feat(app): align cmd k menu with v2 styles (anomalyco#35152) Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(config): handle unavailable config directories (anomalyco#35632) Co-authored-by: James Long <jlongster@users.noreply.github.com> * feat(app): visual improvements (anomalyco#35134) * chore: generate * feat(app): reintroduce model context tooltip in model selector (anomalyco#35087) * chore: generate * feat(app): change traffic light position, fix sequoia bug (anomalyco#35081) * fix(app): apply settings themes on select (anomalyco#35011) Co-authored-by: Jay <53023+jayair@users.noreply.github.com> * fix(app): persist session tab info (anomalyco#34934) * chore: generate * fix(app): show unread for pending questions (anomalyco#34684) Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(app): prioritize shortcuts in terminal (anomalyco#35668) * chore: generate * fix(app): hide markdown task markers (anomalyco#35670) * feat(data): redesign model efficiency * chore: generate * fix(core): expand home-relative permission paths (anomalyco#35737) * chore: generate * fix(core): ensure relevant files survive compaction (anomalyco#35636) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> * fix(llm): classify zai token limit overflow (anomalyco#35671) * release: v1.17.15 * chore(termux): seed release automation * chore(termux): prepare v1.17.15 * fix(ci): disable upstream housekeeping on forks * chore(codegraph): Ignore generated data files Signed-off-by: wallentx <william.allentx@gmail.com> * fix(termux): pin OpenTUI for Android build * chore(termux): prepare v1.17.14 --------- Signed-off-by: wallentx <william.allentx@gmail.com> Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: James Long <jlongster@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: unemployabot[bot] <277198073+unemployabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <wallentx@users.noreply.github.com>
unemployabot Bot
added a commit
to wallentx/opencode-termux
that referenced
this pull request
Jul 8, 2026
* fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore: generate * sync release versions for v1.17.14 * feat(data): improved model usage section * fix(data): refine model trend charts * chore: generate * feat(app): align cmd k menu with v2 styles (anomalyco#35152) Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(config): handle unavailable config directories (anomalyco#35632) Co-authored-by: James Long <jlongster@users.noreply.github.com> * feat(app): visual improvements (anomalyco#35134) * chore: generate * feat(app): reintroduce model context tooltip in model selector (anomalyco#35087) * chore: generate * feat(app): change traffic light position, fix sequoia bug (anomalyco#35081) * fix(app): apply settings themes on select (anomalyco#35011) Co-authored-by: Jay <53023+jayair@users.noreply.github.com> * fix(app): persist session tab info (anomalyco#34934) * chore: generate * fix(app): show unread for pending questions (anomalyco#34684) Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(app): prioritize shortcuts in terminal (anomalyco#35668) * chore: generate * fix(app): hide markdown task markers (anomalyco#35670) * feat(data): redesign model efficiency * chore: generate * fix(core): expand home-relative permission paths (anomalyco#35737) * chore: generate * fix(core): ensure relevant files survive compaction (anomalyco#35636) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> * fix(llm): classify zai token limit overflow (anomalyco#35671) * release: v1.17.15 * chore(termux): seed release automation * Termux v1.17.14 (#10) * fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore(termux): prepare v1.17.14 --------- Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(termux): seed release automation * chore(termux): prepare v1.17.15 * fix(ci): disable upstream housekeeping on forks * chore(codegraph): Ignore generated data files Signed-off-by: wallentx <william.allentx@gmail.com> * fix(termux): pin OpenTUI for Android build * Termux v1.17.14 (#14) * fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore: generate * sync release versions for v1.17.14 * feat(data): improved model usage section * fix(data): refine model trend charts * chore: generate * feat(app): align cmd k menu with v2 styles (anomalyco#35152) Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(config): handle unavailable config directories (anomalyco#35632) Co-authored-by: James Long <jlongster@users.noreply.github.com> * feat(app): visual improvements (anomalyco#35134) * chore: generate * feat(app): reintroduce model context tooltip in model selector (anomalyco#35087) * chore: generate * feat(app): change traffic light position, fix sequoia bug (anomalyco#35081) * fix(app): apply settings themes on select (anomalyco#35011) Co-authored-by: Jay <53023+jayair@users.noreply.github.com> * fix(app): persist session tab info (anomalyco#34934) * chore: generate * fix(app): show unread for pending questions (anomalyco#34684) Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(app): prioritize shortcuts in terminal (anomalyco#35668) * chore: generate * fix(app): hide markdown task markers (anomalyco#35670) * feat(data): redesign model efficiency * chore: generate * fix(core): expand home-relative permission paths (anomalyco#35737) * chore: generate * fix(core): ensure relevant files survive compaction (anomalyco#35636) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> * fix(llm): classify zai token limit overflow (anomalyco#35671) * release: v1.17.15 * chore(termux): seed release automation * chore(termux): prepare v1.17.15 * fix(ci): disable upstream housekeeping on forks * chore(codegraph): Ignore generated data files Signed-off-by: wallentx <william.allentx@gmail.com> * fix(termux): pin OpenTUI for Android build * chore(termux): prepare v1.17.14 --------- Signed-off-by: wallentx <william.allentx@gmail.com> Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: James Long <jlongster@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: unemployabot[bot] <277198073+unemployabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <wallentx@users.noreply.github.com> * chore(termux): prepare v1.17.14 --------- Signed-off-by: wallentx <william.allentx@gmail.com> Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: James Long <jlongster@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: unemployabot[bot] <277198073+unemployabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <wallentx@users.noreply.github.com>
unemployabot Bot
added a commit
to wallentx/opencode-termux
that referenced
this pull request
Jul 8, 2026
* fix(termux): add Android artifact support * fix(termux): make target fork friendly * release: v1.17.14 * chore(termux): seed release automation * Termux v1.17.14 (#10) * fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore(termux): prepare v1.17.14 --------- Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(termux): seed release automation * chore(termux): prepare v1.17.15 * fix(ci): disable upstream housekeeping on forks * chore(codegraph): Ignore generated data files Signed-off-by: wallentx <william.allentx@gmail.com> * fix(termux): pin OpenTUI for Android build * Termux v1.17.14 (#14) * fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore: generate * sync release versions for v1.17.14 * feat(data): improved model usage section * fix(data): refine model trend charts * chore: generate * feat(app): align cmd k menu with v2 styles (anomalyco#35152) Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(config): handle unavailable config directories (anomalyco#35632) Co-authored-by: James Long <jlongster@users.noreply.github.com> * feat(app): visual improvements (anomalyco#35134) * chore: generate * feat(app): reintroduce model context tooltip in model selector (anomalyco#35087) * chore: generate * feat(app): change traffic light position, fix sequoia bug (anomalyco#35081) * fix(app): apply settings themes on select (anomalyco#35011) Co-authored-by: Jay <53023+jayair@users.noreply.github.com> * fix(app): persist session tab info (anomalyco#34934) * chore: generate * fix(app): show unread for pending questions (anomalyco#34684) Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(app): prioritize shortcuts in terminal (anomalyco#35668) * chore: generate * fix(app): hide markdown task markers (anomalyco#35670) * feat(data): redesign model efficiency * chore: generate * fix(core): expand home-relative permission paths (anomalyco#35737) * chore: generate * fix(core): ensure relevant files survive compaction (anomalyco#35636) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> * fix(llm): classify zai token limit overflow (anomalyco#35671) * release: v1.17.15 * chore(termux): seed release automation * chore(termux): prepare v1.17.15 * fix(ci): disable upstream housekeeping on forks * chore(codegraph): Ignore generated data files Signed-off-by: wallentx <william.allentx@gmail.com> * fix(termux): pin OpenTUI for Android build * chore(termux): prepare v1.17.14 --------- Signed-off-by: wallentx <william.allentx@gmail.com> Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: James Long <jlongster@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: unemployabot[bot] <277198073+unemployabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <wallentx@users.noreply.github.com> * chore(termux): seed release automation * Termux v1.17.14 (#16) * fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore: generate * sync release versions for v1.17.14 * feat(data): improved model usage section * fix(data): refine model trend charts * chore: generate * feat(app): align cmd k menu with v2 styles (anomalyco#35152) Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(config): handle unavailable config directories (anomalyco#35632) Co-authored-by: James Long <jlongster@users.noreply.github.com> * feat(app): visual improvements (anomalyco#35134) * chore: generate * feat(app): reintroduce model context tooltip in model selector (anomalyco#35087) * chore: generate * feat(app): change traffic light position, fix sequoia bug (anomalyco#35081) * fix(app): apply settings themes on select (anomalyco#35011) Co-authored-by: Jay <53023+jayair@users.noreply.github.com> * fix(app): persist session tab info (anomalyco#34934) * chore: generate * fix(app): show unread for pending questions (anomalyco#34684) Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(app): prioritize shortcuts in terminal (anomalyco#35668) * chore: generate * fix(app): hide markdown task markers (anomalyco#35670) * feat(data): redesign model efficiency * chore: generate * fix(core): expand home-relative permission paths (anomalyco#35737) * chore: generate * fix(core): ensure relevant files survive compaction (anomalyco#35636) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> * fix(llm): classify zai token limit overflow (anomalyco#35671) * release: v1.17.15 * chore(termux): seed release automation * Termux v1.17.14 (#10) * fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore(termux): prepare v1.17.14 --------- Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(termux): seed release automation * chore(termux): prepare v1.17.15 * fix(ci): disable upstream housekeeping on forks * chore(codegraph): Ignore generated data files Signed-off-by: wallentx <william.allentx@gmail.com> * fix(termux): pin OpenTUI for Android build * Termux v1.17.14 (#14) * fix(termux): add Android artifact support * fix(termux): make target fork friendly * chore: generate * sync release versions for v1.17.14 * feat(data): improved model usage section * fix(data): refine model trend charts * chore: generate * feat(app): align cmd k menu with v2 styles (anomalyco#35152) Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(config): handle unavailable config directories (anomalyco#35632) Co-authored-by: James Long <jlongster@users.noreply.github.com> * feat(app): visual improvements (anomalyco#35134) * chore: generate * feat(app): reintroduce model context tooltip in model selector (anomalyco#35087) * chore: generate * feat(app): change traffic light position, fix sequoia bug (anomalyco#35081) * fix(app): apply settings themes on select (anomalyco#35011) Co-authored-by: Jay <53023+jayair@users.noreply.github.com> * fix(app): persist session tab info (anomalyco#34934) * chore: generate * fix(app): show unread for pending questions (anomalyco#34684) Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> * fix(app): prioritize shortcuts in terminal (anomalyco#35668) * chore: generate * fix(app): hide markdown task markers (anomalyco#35670) * feat(data): redesign model efficiency * chore: generate * fix(core): expand home-relative permission paths (anomalyco#35737) * chore: generate * fix(core): ensure relevant files survive compaction (anomalyco#35636) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> * fix(llm): classify zai token limit overflow (anomalyco#35671) * release: v1.17.15 * chore(termux): seed release automation * chore(termux): prepare v1.17.15 * fix(ci): disable upstream housekeeping on forks * chore(codegraph): Ignore generated data files Signed-off-by: wallentx <william.allentx@gmail.com> * fix(termux): pin OpenTUI for Android build * chore(termux): prepare v1.17.14 --------- Signed-off-by: wallentx <william.allentx@gmail.com> Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: James Long <jlongster@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: unemployabot[bot] <277198073+unemployabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <wallentx@users.noreply.github.com> * chore(termux): prepare v1.17.14 --------- Signed-off-by: wallentx <william.allentx@gmail.com> Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: James Long <jlongster@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: unemployabot[bot] <277198073+unemployabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <wallentx@users.noreply.github.com> * chore(termux): prepare v1.17.15 --------- Signed-off-by: wallentx <william.allentx@gmail.com> Co-authored-by: wallentx <william.allentx@gmail.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: unemployabot[bot] <277198073+unemployabot[bot]@users.noreply.github.com> Co-authored-by: William Allen <wallentx@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: James Long <jlongster@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: 冯基魁 <56265583+fengjikui@users.noreply.github.com>
avion23
pushed a commit
to avion23/opencode
that referenced
this pull request
Jul 9, 2026
anduimagui
pushed a commit
to anduimagui/opencode
that referenced
this pull request
Jul 9, 2026
This was referenced Jul 10, 2026
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.
Issue for this PR
Fixes #27519
Also covers the Z.AI/GLM repro in #27629.
Type of change
What does this PR do?
Adds the Z.AI/GLM error text
tokens in request more than max tokens allowedto the shared context-overflow matcher. That makes APICallError conversion produceContextOverflowError, so the existing compaction path can run instead of treating the provider response as a generic API error.I added coverage at the shared LLM matcher and at the opencode session error conversion layer.
How did you verify your code works?
Before the implementation,
bun test --timeout 30000 test/session/message-v2.test.tsfrompackages/opencodefailed on the added provider message case.Passing checks after the fix:
bun test --timeout 30000 test/provider-error.test.tsfrompackages/llmbun test --timeout 30000 test/session/message-v2.test.tsfrompackages/opencodebun typecheckfrompackages/llmbun typecheckfrompackages/opencodebun turbo typecheckfrom repo root, 30 successful / 30 totalScreenshots / recordings
Not a UI change.
Checklist