Skip to content

fix(cowork): sync channel session model override from OpenClaw gateway#2267

Merged
fisherdaddy merged 1 commit into
release/2026.7.1from
fisherdaddy/fix-im-model-switch
Jul 3, 2026
Merged

fix(cowork): sync channel session model override from OpenClaw gateway#2267
fisherdaddy merged 1 commit into
release/2026.7.1from
fisherdaddy/fix-im-model-switch

Conversation

@fisherdaddy

Copy link
Copy Markdown
Collaborator

Read the effective model from sessions.list rows, channel history model-snapshot/session_status entries, and sessions.patch responses so IM/channel sessions reflect model switches made outside the app instead of diverging from the local modelOverride. Adds a
cowork:session:modelOverrideChanged IPC event so the renderer updates live.

Summary

Related Issue

Fixes #(issue number)

Changes Made

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Code refactoring
  • Documentation update
  • Performance improvement
  • Other (please describe):

Testing

  • Tested locally
  • Added new tests
  • Updated existing tests
  • Manual testing performed

Screenshots (if applicable)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Electron-Specific Changes

  • Changes to main process (src/main/)
  • Changes to preload script (src/main/preload.ts)
  • Changes to IPC communication
  • Changes to window management
  • None

Additional Notes

Read the effective model from sessions.list rows, channel history
model-snapshot/session_status entries, and sessions.patch responses so
IM/channel sessions reflect model switches made outside the app instead of
diverging from the local modelOverride. Adds a
cowork:session:modelOverrideChanged IPC event so the renderer updates live.
@fisherdaddy fisherdaddy merged commit 9a129af into release/2026.7.1 Jul 3, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant