mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 19:27:04 +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');
|
||
|
}
|