feat: Update maxTurns default from 20 to 100 and format code

This commit is contained in:
gsxdsm
2026-02-16 22:47:30 -08:00
parent 8af1b8bd08
commit f06088a062
2 changed files with 4 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ describe('claude-provider.ts', () => {
expect(typeof callArgs.prompt).not.toBe('string');
});
it('should use maxTurns default of 20', async () => {
it('should use maxTurns default of 100', async () => {
vi.mocked(sdk.query).mockReturnValue(
(async function* () {
yield { type: 'text', text: 'test' };
@@ -205,7 +205,7 @@ describe('claude-provider.ts', () => {
expect(sdk.query).toHaveBeenCalledWith({
prompt: 'Test',
options: expect.objectContaining({
maxTurns: 20,
maxTurns: 100,
}),
});
});