Skip to content
Source
Sign inSign up
TanStack/ai

chore(examples): replace retiring claude-sonnet-4-5 ids with claude-sonnet-4-6 #2043

Mergedpcbeingused33(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/2043/headmerged by tombeckenham View on GitHub

Showing 11 changed files with 3 additions and 3 deletions (loading 8).

x
0 of 11 viewed, 11 left
1 addition and 1 deletionexamples/ts-code-mode-web/src/routes/_structured-output/api.structured-output.tsModified
View file
@@ -48,7 +48,7 @@
case 'anthropic':
default:
return anthropicText(
- (model || 'claude-sonnet-4-5') as 'claude-sonnet-4-5',
+ (model || 'claude-sonnet-4-6') as 'claude-sonnet-4-6',
1 addition and 1 deletionexamples/ts-group-chat/chat-server/claude-service.tsModified
View file
@@ -182,7 +182,7 @@
​
export class ClaudeService {
- private adapter = anthropicText('claude-sonnet-4-5') // Uses ANTHROPIC_API_KEY from env
+ private adapter = anthropicText('claude-sonnet-4-6') // Uses ANTHROPIC_API_KEY from env
private queue: Array<ClaudeRequest> = []
private currentRequest: ClaudeRequest | null = null
private isProcessing = false
1 addition and 1 deletionexamples/ts-group-chat/README.mdModified
View file
@@ -95,7 +95,7 @@
​
## @Claude Integration
​