Skip to content

Add support for /compact #4924

@rucinski-ttp

Description

@rucinski-ttp

What version of the VS Code extension are you using?

0.4.19

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What steps can reproduce the bug?

After using the tool for a short while, the conversation is unable to continue, with the error Codex ran out of room in the model's context window. Start a new conversation or clear earlier history before retrying.

What is the expected behavior?

Similar to the CLI tool, the chat should be condensed and summarised to free up space and allow the conversation to continue. This would be either automatic when the context window limit is reached, or manually through a button.

What do you see instead?

When this limit is hit, the conversation has to be abandoned and a new chat started.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions