Skip to content

fix: expose Codex compact metadata in models#670

Open
icebear0828 wants to merge 1 commit into
devfrom
fix/codex-model-auto-compact-metadata
Open

fix: expose Codex compact metadata in models#670
icebear0828 wants to merge 1 commit into
devfrom
fix/codex-model-auto-compact-metadata

Conversation

@icebear0828

@icebear0828 icebear0828 commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • include Codex token metadata in OpenAI-compatible model listings
  • expose explicit auto compact token limits for CLI auto compaction
  • cover the model metadata contract with a focused route test

Test plan

  • git diff --check
  • rg -n "as any|: any|" src/routes/models.ts tests/unit/routes/plan-routing-integration.test.ts src/models/model-store.ts src/types/openai.ts
  • npx vitest run tests/unit/routes/plan-routing-integration.test.ts -t "includes Codex token metadata"
  • npm run build

@icebear0828 icebear0828 force-pushed the fix/codex-model-auto-compact-metadata branch from 19b4992 to bd391da Compare June 9, 2026 13:28
@icebear0828 icebear0828 changed the title fix: expose Codex auto compact metadata fix: expose Codex compact metadata in models Jun 9, 2026
@icebear0828 icebear0828 force-pushed the fix/codex-model-auto-compact-metadata branch from bd391da to fa2d8b4 Compare June 9, 2026 13:59
@icebear0828 icebear0828 force-pushed the fix/codex-model-auto-compact-metadata branch from fa2d8b4 to 59ead2c Compare June 9, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant