You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 647c00d
Browse filesBrowse the repository at this point in the historyBrowse files
jzli
committed
fix(codex): recognize trailing comments on provider table headers
TOML v1.0 permits a comment after a table header, so
[model_providers.opencodex] # comment is a valid root header form. The exact
string compare missed it, skipping provider cleanup on inject and restore and
letting hasOpencodexRouting miss the table. Match the root header by regex
with optional whitespace + trailing comment; the sub-table prefix check
already tolerates trailing comments by construction. Regression tests for
commented root and sub-table headers.
0 commit comments