Skip to content

fix: add GPT-5.5 aliases to sandbox compaction#3039

Merged
alfozan merged 1 commit intomainfrom
alfozan/add-gpt-55-compaction-models
Apr 28, 2026
Merged

fix: add GPT-5.5 aliases to sandbox compaction#3039
alfozan merged 1 commit intomainfrom
alfozan/add-gpt-55-compaction-models

Conversation

@alfozan
Copy link
Copy Markdown
Collaborator

@alfozan alfozan commented Apr 28, 2026

Summary

Adds GPT-5.5 snapshot and pro aliases to the sandbox compaction model context-window map so compaction threshold calculation recognizes them as 1,047,576-token models.

Test plan

  • uv run ruff check src/agents/sandbox/capabilities/compaction.py tests/sandbox/test_compaction.py
  • uv run pytest tests/sandbox/test_compaction.py
  • Verified CompactionModelInfo.for_model() locally for gpt-5.5-2026-04-23, gpt-5.5-pro, and gpt-5.5-pro-2026-04-23
  • Verified the model IDs exist via the OpenAI Models API; also ran a live Responses API smoke with gpt-5.5-2026-04-23

Issue number

N/A

Checks

  • I've added new tests (if relevant)
  • I've added/updated the relevant documentation
  • I've run make lint and make format
  • I've made sure tests pass

@github-actions github-actions Bot added enhancement New feature or request feature:sandboxes labels Apr 28, 2026
@seratch seratch added this to the 0.14.x milestone Apr 28, 2026
@alfozan alfozan changed the title Add GPT-5.5 aliases to sandbox compaction Add GPT-5.5 models to sandbox compaction Apr 28, 2026
@seratch seratch changed the title Add GPT-5.5 models to sandbox compaction fix: add GPT-5.5 aliases to sandbox compaction Apr 28, 2026
@alfozan alfozan enabled auto-merge (squash) April 28, 2026 06:33
@alfozan alfozan merged commit ebdb0f2 into main Apr 28, 2026
10 checks passed
@alfozan alfozan deleted the alfozan/add-gpt-55-compaction-models branch April 28, 2026 06:34
@github-actions github-actions Bot mentioned this pull request Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature:sandboxes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants