We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 623e4f6 commit d55c320Copy full SHA for d55c320
1 file changed
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