Skip to content

fix(chat): decode native thinking metadata#78841

Merged
BunsDev merged 1 commit into
mainfrom
meow/native-thinking-metadata
May 7, 2026
Merged

fix(chat): decode native thinking metadata#78841
BunsDev merged 1 commit into
mainfrom
meow/native-thinking-metadata

Conversation

@BunsDev

@BunsDev BunsDev commented May 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Decode gateway-provided thinking metadata in shared native chat session/default models.
  • Render the iOS/macOS thinking picker from session/default thinkingLevels metadata instead of hard-coded base levels.
  • Preserve legacy/current thinking values such as adaptive, xhigh, and max without leaking default-model options into different active session models.

Verification

  • swift test --package-path apps/shared/OpenClawKit --filter ChatViewModelTests --no-parallel
  • swift test --package-path apps/macos --filter WebChatSwiftUISmokeTests --no-parallel
  • pnpm lint:swift
  • pnpm check:changed locally
  • Testbox pnpm check:changed narrowed to apps, docs but the box image is missing swiftlint, so it failed before app lint ran; local SwiftLint passed.

Notes

@openclaw-barnacle openclaw-barnacle Bot added app: macos App: macos size: L maintainer Maintainer-authored PR labels May 7, 2026
@BunsDev BunsDev merged commit 9ffe290 into main May 7, 2026
44 of 46 checks passed
@BunsDev BunsDev deleted the meow/native-thinking-metadata branch May 7, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos maintainer Maintainer-authored PR size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant