Skip to content

[FEATURE]:OpenAI provider: support official remote compaction #14233

@FaulknerWu

Description

@FaulknerWu

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Description
Please add support in OpenCode’s OpenAI provider for OpenAI’s official Compaction for context window compression in long-running sessions.

Compaction works really well in Codex CLI, and I’d like the same capability in OpenCode.

Docs: https://developers.openai.com/api/docs/guides/compaction

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions