goose/services/ask-ai-bot/clients/ai.ts
BestCodes 6f8ebe74a1
switch Ask AI Discord bot from openrouter to anthropic (#7386)
Signed-off-by: The-Best-Codes <106822363+The-Best-Codes@users.noreply.github.com>
2026-02-20 15:39:05 +00:00

5 lines
155 B
TypeScript

import { anthropic } from "@ai-sdk/anthropic";
const modelName = process.env.AI_MODEL || "claude-sonnet-4-6";
export const model = anthropic(modelName);