Skip to content

Commit 0b4d4ae

Browse files
authored
Merge branch 'main' into fix/cloudflare-worker-fetch-binding-281
2 parents 706e4f1 + 8ef7c25 commit 0b4d4ae

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "portkey-ai",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Node client library for the Portkey API",
55
"types": "dist/src/index.d.ts",
66
"main": "dist/src/index.js",

src/apis/chatCompletions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class ChatCompletions extends ApiResource {
150150
}
151151

152152
const OAIclient = initOpenAIClient(this.client);
153-
const result = await OAIclient.responses.parse(body, opts);
153+
const result = await OAIclient.chat.completions.parse(body, opts);
154154
return result;
155155
}
156156

0 commit comments

Comments
 (0)