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