Skip to content

Commit 8438c2c

Browse files
authored
Update README.md
1 parent 041f2a6 commit 8438c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ import { fetch } from 'undici'; // as one example
434434
import OpenAI from 'openai';
435435

436436
const client = new OpenAI({
437-
fetch: async (url: RequestInfo, init?: RequestInfo): <Response> => {
437+
fetch: async (url: RequestInfo, init?: RequestInfo): Response => {
438438
console.log('About to make request', url, init);
439439
const response = await fetch(url, init);
440440
console.log('Got response', response);

0 commit comments

Comments
 (0)