mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 22:42:21 +00:00
10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
import { createAnthropic } from '@ai-sdk/anthropic';
|
|
|
|
export function getAnthropicModel(apiKey: string) {
|
|
const anthropic = createAnthropic({
|
|
apiKey,
|
|
});
|
|
|
|
return anthropic('claude-3-5-sonnet-20240620');
|
|
}
|