export class OpenRouter {
  apiKey: string;
  chat = {
    send: jest.fn().mockImplementation(async () => {
      return (async function* () {
        yield { choices: [{ delta: { content: 'Simulated AI response' } }] };
      })();
    }),
  };

  constructor(opts?: any) {
    this.apiKey = opts?.apiKey || '';
  }
}
