We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7697fa1 commit a4974c3Copy full SHA for a4974c3
README.md
@@ -296,7 +296,7 @@ import { fetch } from 'undici'; // as one example
296
import Anthropic from '@anthropic-ai/sdk';
297
298
const client = new Anthropic({
299
- fetch: async (url: RequestInfo, init?: RequestInfo): Promise<Response> => {
+ fetch: async (url: RequestInfo, init?: RequestInit): Promise<Response> => {
300
console.log('About to make a request', url, init);
301
const response = await fetch(url, init);
302
console.log('Got response', response);
0 commit comments