Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Description

Refs: Request from [email protected] via Slack to remove Claude Sonnet 3.5 v2 model references

Anthropic and AWS Bedrock are retiring Claude Sonnet 3.5 v2 (us.anthropic.claude-3-5-sonnet-20241022-v2:0). This PR removes the claude-3.5 option from the AIChatModel enum in the docs.yml configuration schema to prevent users from configuring a model that will soon be unavailable.

⚠️ Breaking Change: Users who have explicitly configured ai-search.model: claude-3.5 in their docs.yml will need to update to claude-3.7, claude-4, or command-a.

Related PR: This should be coordinated with fern-platform#4665 which removes the actual Bedrock model implementation.

Changes Made

  • Removed claude-3.5 enum value from AIChatModel in fern/apis/docs-yml/definition/docs.yml
  • Updated generated TypeScript SDK type definitions in packages/cli/configuration/src/docs-yml/schemas/sdk/api/resources/docs/types/AiChatModel.ts
  • Updated generated TypeScript serialization in packages/cli/configuration/src/docs-yml/schemas/sdk/serialization/resources/docs/types/AiChatModel.ts
  • Updated JSON schemas in docs-yml.schema.json and packages/cli/workspace/loader/src/docs-yml.schema.json

Testing

  • Test suite passed (pnpm test)
  • Manual testing of AI search functionality (unable to test runtime behavior)
  • Generated files manually updated (Fern CLI regeneration requires authentication)

Review Checklist

Critical items for review:

  • Verify all 5 files are consistently updated (source YAML + 2 TS files + 2 JSON schemas)
  • Confirm breaking change communication plan exists for affected users
  • Verify merge order coordination with fern-platform PR [Bug] Favicon issues when generating on Windows #4665
  • Consider if generated files need to be regenerated with fern generate after merge

Link to Devin run: https://app.devin.ai/sessions/93a5a406abf942e892901ab8a33f74f2
Requested by: [email protected] (@dannysheridan)

Remove all references to Claude Sonnet 3.5 v2 from the AIChatModel enum as it is being retired by Anthropic and Bedrock.

Changes:
- Removed 'claude-3.5' from AIChatModel enum in docs.yml definition
- Updated generated TypeScript SDK files
- Updated JSON schema files

Co-Authored-By: [email protected] <[email protected]>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

The CI lint job regenerates JSON schema files and expects no trailing newline at EOF. This commit removes the trailing newlines from both docs-yml.schema.json files to match CI's generation output.

Co-Authored-By: [email protected] <[email protected]>
@dannysheridan dannysheridan merged commit bd4fe87 into main Nov 7, 2025
100 checks passed
@dannysheridan dannysheridan deleted the devin/1762051881-remove-claude-sonnet-3-5-v2 branch November 7, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants