Skip to content

Remove Tools button and Research mode; collapse runtime profile#182

Merged
chloeilabs merged 1 commit into
mainfrom
claude/compassionate-noether-jd062x
Jun 15, 2026
Merged

Remove Tools button and Research mode; collapse runtime profile#182
chloeilabs merged 1 commit into
mainfrom
claude/compassionate-noether-jd062x

Conversation

@chloeilabs

Copy link
Copy Markdown
Owner

Summary

Removes the user-facing Research mode feature and the Tools (+) popover entirely, then cleans up everything the removal orphaned. Since Research was the only non-chat run mode and the only thing in the Tools popover, the whole runMode / AgentRunMode concept becomes vestigial and is removed end to end.

Net: 46 files changed, +107 / −1129 (4 files deleted).

What changed

UI

  • Drop the Tools (+) popover and the Research pill from PromptForm — the footer now renders only the ModelSelector.
  • Delete ResearchModeToggle and its use in the message-edit UI.

Run mode

  • Remove runMode / AgentRunMode end to end (prompt-form props, use-agent-session, follow-up plumbing, message metadata).
  • Delete use-persistent-run-mode + persistent-run-mode-utils and the RUN_MODE_* localStorage constants.

Server

  • Remove runMode validation, the AGENT_RESEARCH_MODEL_UNAVAILABLE error, research model forcing, RESEARCH_MODEL, and the DEEP RESEARCH MODE system-prompt block.
  • Collapse the single remaining runtime profile: drop AGENT_RUNTIME_PROFILES / AgentRuntimeProfileId and use AGENT_TOOL_MAX_STEPS directly; make taskMode a required param and always route provider options through the task-mode mapping.
  • Delete the legacy getAiSdkGatewayProviderOptionsForMode shim.

Intentionally kept: the internal, content-inferred "research" task mode overlay — a separate automatic prompt-steering axis, not the user-facing toggle.

Backward-compat: stored threads carrying legacy runMode metadata still parse; the field is dropped on read (no migration). Covered by a test.

Docs (README.md, CLAUDE.md) updated to match.

Verification

All green locally: pnpm typecheck · pnpm lint (--max-warnings=0) · pnpm test (183 tests) · pnpm format:check · pnpm build · pnpm bundle:budget (12.99/14 MiB) · pnpm test:smoke:mock (7/7, including the edit-and-regenerate flow that exercises the simplified edit UI).

https://claude.ai/code/session_01BdUP9R5UfxFCqfYhuHj1pB


Generated by Claude Code

Removes the user-facing Research mode feature and the Tools popover
entirely, then cleans up everything the removal orphaned.

UI:
- Drop the Tools (+) popover and Research pill from PromptForm; the
  footer now renders only the ModelSelector.
- Delete ResearchModeToggle and its use in the message-edit UI.

Run mode:
- Remove the runMode/AgentRunMode concept end to end (UI props,
  use-agent-session, follow-up plumbing, message metadata).
- Delete use-persistent-run-mode + persistent-run-mode-utils and the
  RUN_MODE_* localStorage constants.

Server:
- Remove runMode validation, the AGENT_RESEARCH_MODEL_UNAVAILABLE
  error, research model forcing, RESEARCH_MODEL, and the DEEP RESEARCH
  MODE system-prompt block.
- Collapse the single remaining runtime profile: drop
  AGENT_RUNTIME_PROFILES/AgentRuntimeProfileId and use
  AGENT_TOOL_MAX_STEPS directly; make taskMode a required param and
  always route provider options through the task-mode mapping.
- Delete the legacy getAiSdkGatewayProviderOptionsForMode shim.

The internal, content-inferred "research" task mode is intentionally
kept. Stored threads carrying legacy runMode metadata parse fine; the
field is dropped on read (no migration).

Tests and docs (README, CLAUDE.md) updated accordingly.
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chloei Ready Ready Preview, Comment Jun 15, 2026 4:54am

@chloeilabs chloeilabs merged commit c75a53a into main Jun 15, 2026
6 checks passed
@chloeilabs chloeilabs deleted the claude/compassionate-noether-jd062x branch June 15, 2026 05:04
@chloeilabs chloeilabs mentioned this pull request Jun 15, 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