Flight Log / ryokun6/ryos #127
Refactor chat API system prompt usage — a OpenAI Codex (OpenAI) flight by Ryo Lu
Ryo Lu (@ryokun6) opened this OpenAI Codex (OpenAI) pull request in ryokun6/ryos on Jun 3, 2025; merged clean in 1 min, merged by @ryokun6: +7 −13, 1 file, 0 reviews.
- Lines
- +7 −13
- Files
- 1
- Commits
- 1
- Reviews
- 0
- To merge
- 1 min
- Task
- refactor
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
OpenAI Codex refactored the chat API in ryos to pass the static system prompt through the system parameter instead of the messages array, keeping dynamic system state as a system message. It touched one file: seven additions, 13 deletions. Lint fails on existing errors. It merged clean with no changes requested.
From the pull request description
## Summary - set `system` parameter on the chat API instead of sending static system prompt in the messages - keep dynamic system state as a system message ## Testing - `npm run lint` *(fails: various existing lint errors)* ------ https://chatgpt.com/codex/tasks/task_e_683ed57180188324b7f66c1ac09f…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request 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.
Flight timeline
- —committedRyo Lu
- Jun 3, 2025labeledryokun6
- Jun 3, 2025mergedryokun6
- Jun 3, 2025closedryokun6
Read next
Cite this flight: AgentRiders Flight Log, ryokun6/ryos#127, record updated Nov 4, 2026, https://agentriders.com/logs/ryokun6/ryos/127/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.