bolt.new/app/lib/.server/llm/model.ts

10 lines
215 B
TypeScript
Raw Normal View History

2024-07-10 16:44:39 +00:00
import { createAnthropic } from '@ai-sdk/anthropic';
export function getAnthropicModel(apiKey: string) {
const anthropic = createAnthropic({
apiKey,
});
return anthropic('claude-3-5-sonnet-20240620');
}