Skip to content

Fix Pi effort selection and live sidebar thread visibility#122

Open
isthatyousaf wants to merge 2 commits into
Emanuele-web04:mainfrom
isthatyousaf:fix/pi-effort-sidebar-threads
Open

Fix Pi effort selection and live sidebar thread visibility#122
isthatyousaf wants to merge 2 commits into
Emanuele-web04:mainfrom
isthatyousaf:fix/pi-effort-sidebar-threads

Conversation

@isthatyousaf
Copy link
Copy Markdown
Contributor

Summary

  • Store Pi reasoning selector choices as thinkingLevel so the Pi adapter receives them.
  • Let hot-path thread detail sync create the first sidebar summary when it observes a new running thread before the shell stream catches up.
  • Add regression tests for both flows.

Testing

  • bun run fmt
  • cd apps/web && bun run test src/store.test.ts src/components/chat/composerProviderRegistry.test.tsx
  • cd packages/shared && bun run test src/model.test.ts
  • bun run lint (passes with existing warnings)
  • bun run typecheck

Review focus

  • Provider-specific option key mapping for Pi runtime-discovered reasoning controls.
  • Sidebar summary creation only for threads without an existing shell-owned summary.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:S labels May 15, 2026
@github-actions github-actions Bot added size:L and removed size:S labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant