Skip to content

Switch SME Chat to direct Anthropic messaging#430

Merged
BunsDev merged 3 commits into
mainfrom
okcode/sme-chat-tool-flow-error
Apr 13, 2026
Merged

Switch SME Chat to direct Anthropic messaging#430
BunsDev merged 3 commits into
mainfrom
okcode/sme-chat-tool-flow-error

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 13, 2026

Summary

  • Route SME Chat Claude conversations directly through the Anthropic SDK instead of the provider runtime.
  • Resolve Anthropic credentials from env vars or authTokenHelperCommand, with clearer validation errors when none are available.
  • Restrict SME Chat to Claude Agent conversations and preserve message persistence plus streaming delta events.
  • Update tests to cover direct Anthropic input wiring, env isolation, and missing-credential failures.

Testing

  • Not run (bun fmt not run).
  • Not run (bun lint not run).
  • Not run (bun typecheck not run).
  • Not run (bun run test not run).

- Replace provider-runtime routing with direct Anthropic client setup
- Resolve Anthropic credentials from env or helper command and fail early when missing
- Update SME chat tests to cover the new flow and error path
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 13, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 13, 2026 5:10am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 13, 2026 5:10am

BunsDev and others added 2 commits April 13, 2026 00:09
- Add recent maintainer reviews and decision summary to PR review
- Surface PR Review in navigation and register Copilot settings
- Block non-Claude providers before conversation creation
- Disable unsupported options in the SME chat dialog
- Add coverage for the provider validation path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant