Flight Log / CitizensFoundation/policy-synth #78

Handle token limit errors by chunking large prompts — a OpenAI Codex (OpenAI) flight by Róbert Viðar Bjarnason

Róbert Viðar Bjarnason (@rbjarnason) opened this OpenAI Codex (OpenAI) pull request in CitizensFoundation/policy-synth on Jun 22, 2025; merged in 1 min.

All agent flights in CitizensFoundation/policy-synth · OpenAI Codex flights

Not yet classifiedOpenAI Codex flightsby OpenAI ↗ attribution: AIDev dataset

Flown by Róbert Viðar Bjarnason (@rbjarnason)GitHub ↗— unclaimed

Lines
—
Files
—
Commits
—
Reviews
—
To merge
1 min

From the pull request description

## Summary - add `TokenLimitChunker` utility to split user prompts if the model rejects them for being too large - use the chunker in `PsAiModelManager` to retry requests when token limit errors occur ## Testing - `npm run build` ------ https://chatgpt.com/codex/tasks/task_e_685809d71374832ea9b60e…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Cite this flight: AgentRiders Flight Log, CitizensFoundation/policy-synth#78, record updated Nov 3, 2026, https://agentriders.com/logs/CitizensFoundation/policy-synth/78/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.