Skip to content

feat: support dynamic session model for compaction - #3

Open
Emitter-166 wants to merge 1 commit into
JMHSV:mainfrom
Emitter-166:main
Open

Emitter-166 wants to merge 1 commit into
JMHSV:mainfrom
Emitter-166:main

Conversation

@Emitter-166

Copy link
Copy Markdown

I was frustrated that I could not have the compaction model id switch dynamically, since I use local models for coding and my computer can only run one model at a time, having to manually switch the compaction model id everytime in the .json file is painful.

So I added the ability to set model id to "default" or leave it empty to use whatever the current model in the session is.


Keep explicit provider/model references for a fixed compaction model, preserve disabled and unconfigured behavior, and document both options. Add regression tests for dynamic defaults, project overrides, and invalid model values.```

Use the active session model when compactionModel.model is omitted or set to 'default'. Resolve it at each compaction so model switches are picked up automatically while preserving configured thinking levels and reason filters.

Keep explicit provider/model references for a fixed compaction model, preserve disabled and unconfigured behavior, and document both options. Add regression tests for dynamic defaults, project overrides, and invalid model values.
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