Skip to content

Commit

Permalink
consistent callback
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutphilippe committed Aug 19, 2024
1 parent 0e1a9e5 commit 665a6b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion openai/functions/chat/completionsStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ export async function openaiChatCompletionsStream({
messages.push(newMessage);

return {
result: messages,
result: {
messages,
},
cost:
price &&
openaiCost({
Expand Down
2 changes: 1 addition & 1 deletion openai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restackio/integrations-openai",
"version": "0.0.10",
"version": "0.0.11",
"main": "dist/service.js",
"types": "dist/service.d.ts",
"scripts": {
Expand Down

0 comments on commit 665a6b8

Please sign in to comment.