Skip to content

Commit 61354a0

Browse files
committed
missing unpack
1 parent b835341 commit 61354a0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

openai/chat_completions.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
local unpack = table.unpack or unpack
12
local cjson = require("cjson")
23
local types
34
types = require("tableshape").types

openai/chat_completions.moon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
-- This is the legacy API https://platform.openai.com/docs/api-reference/chat
22

3+
unpack = table.unpack or unpack
4+
35
cjson = require "cjson"
46
import types from require "tableshape"
57

0 commit comments

Comments
 (0)