File size: 215 Bytes
8481fea
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import { createAnthropic } from '@ai-sdk/anthropic';

export function getAnthropicModel(apiKey: string) {
  const anthropic = createAnthropic({
    apiKey,
  });

  return anthropic('claude-3-5-sonnet-20240620');
}