Skip to content

fix: lock LLM to Anthropic Sonnet 4.5 and remove model selector UI#2143

Closed
yuki332 wants to merge 3 commits intostackblitz-labs:mainfrom
yuki332:update/strict-llm-model
Closed

fix: lock LLM to Anthropic Sonnet 4.5 and remove model selector UI#2143
yuki332 wants to merge 3 commits intostackblitz-labs:mainfrom
yuki332:update/strict-llm-model

Conversation

@yuki332
Copy link
Copy Markdown

@yuki332 yuki332 commented Mar 2, 2026

Summary

  • Remove model/provider selection UI, replacing the complex dropdown with a static "Anthropic / Claude Sonnet 4.5" display
  • Fix DEFAULT_MODEL to claude-sonnet-4-5-20241022
  • Hardcode Anthropic as the provider instead of relying on dynamic DEFAULT_PROVIDER (which resolved to Amazon Bedrock)
  • Remove APIKeyManager from ChatBox (API keys set via environment variables)

Test plan

  • TypeScript compiles without errors
  • Local dev server shows static "Anthropic / Claude Sonnet 4.5" label
  • No model selection dropdown or API key input displayed
  • Verify Cloudflare Pages deployment uses correct Anthropic provider

🤖 Generated with Claude Code

Add Claude Opus 4.5 model option to the Amazon Bedrock provider
using the inference profile ID format (us.anthropic.claude-opus-4-5-20251101-v1:0).
DEFAULT_PROVIDER resolved to Amazon Bedrock due to provider registration
order, causing authentication errors on Cloudflare Pages deployment.
@yuki332 yuki332 closed this Mar 2, 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.

1 participant