Skip to content

fix: preserve active model across reasoning changes - #18

Merged
ian-pascoe merged 1 commit into
ian-pascoe:mainfrom
mauriciozaffari:fix/preserve-model
Aug 2, 2026
Merged

fix: preserve active model across reasoning changes#18
ian-pascoe merged 1 commit into
ian-pascoe:mainfrom
mauriciozaffari:fix/preserve-model

Conversation

@mauriciozaffari

Copy link
Copy Markdown
Contributor

The agent fix only preserved the agent name; the selected model was still reverting to the default because promptAsync was not receiving the current provider/model pair. This change captures the latest model from session messages and passes it through on every reasoning-effort prompt, including temporary resets on session.idle.

The agent fix only preserved the agent name; the selected model was still

reverting to the default because promptAsync was not receiving the

current provider/model pair. Capture the latest model from session

messages and pass it through on every reasoning-effort prompt, including

temporary resets on session.idle.
@mauriciozaffari

Copy link
Copy Markdown
Contributor Author

Hi @ian-pascoe - another one from me. Let me know if you want any changes on it.

@ian-pascoe

Copy link
Copy Markdown
Owner

@mauriciozaffari Looks good, thank you again!

@ian-pascoe
ian-pascoe merged commit defb743 into ian-pascoe:main Aug 2, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 2, 2026
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.

2 participants