Skip to content

chore(ai): upgrade SDK deps and pin analysis model#8

Open
RichardHruby wants to merge 1 commit intomainfrom
richard/upgrade-sonnet
Open

chore(ai): upgrade SDK deps and pin analysis model#8
RichardHruby wants to merge 1 commit intomainfrom
richard/upgrade-sonnet

Conversation

@RichardHruby
Copy link
Owner

Summary

Upgrades AI SDK dependencies and pins the login analysis model to a fixed snapshot for stable behavior.

  • Bumped @ai-sdk/anthropic from ^3.0.28 to ^3.0.45
  • Bumped ai from ^6.0.57 to ^6.0.92
  • Updated lockfile transitive AI SDK packages (@ai-sdk/gateway, @ai-sdk/provider, @ai-sdk/provider-utils)
  • Centralized the analysis model ID in agent.ts and pinned it to claude-sonnet-4-5-20250929

Changes

File What
package.json Upgraded top-level AI SDK dependencies
package-lock.json Refreshed lockfile with resolved/transitive AI SDK versions
src/lib/ai-login/agent.ts Added ANTHROPIC_ANALYSIS_MODEL constant and reused it in both generateText calls

Test plan

  • npm run lint passes
  • npm run build passes
  • Start a login session and verify screen analysis still works for form/choice flows
  • Confirm model selection uses pinned snapshot ID consistently in both analysis code paths

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Feb 19, 2026

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

Project Deployment Actions Updated (UTC)
login-machine Ready Ready Preview, Comment Feb 19, 2026 9:19pm

Request Review

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

Comments