mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-30 23:56:07 +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');
|
||
|
}
|