bolt.new/app/lib/.server/llm/model.ts
Dustin Loring e492a40ef3 chore: update latest model
update to the latest claude model
2025-01-11 19:45:19 -05:00

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-20241022');
}