import { complete, withSystem } from '@adrper79-dot/llm';
// Direct completion
const result = await complete(
[{ role: 'user', content: 'What is the capital of France?' }],
{ ANTHROPIC_API_KEY: env.ANTHROPIC_API_KEY, GROK_API_KEY: env.GROK_API_KEY, GROQ_API_KEY: env.GROQ_API_KEY },
);
// With system prompt pre-bound
const assist = withSystem('You are a helpful customer support agent for Acme Corp.');
const response = await assist(
[{ role: 'user', content: 'How do I reset my password?' }],
env,
);