Skip to content

Commit 62a7cf1

Browse files
committed
remove unecessary exports
1 parent 2a1d10f commit 62a7cf1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

openai/responses.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,5 @@ do
303303
end
304304
return {
305305
ResponsesChatSession = ResponsesChatSession,
306-
parse_responses_response = parse_responses_response,
307-
parse_response_stream_chunk = parse_response_stream_chunk,
308306
create_response_stream_filter = create_response_stream_filter
309307
}

openai/responses.moon

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ parse_response_stream_chunk = (chunk) ->
130130
raw: chunk
131131
}
132132

133-
134-
-- Wraps a chunk callback to handle streaming chunked response from server
133+
-- takes a stream of string chunks and extracts SSE json objects out of the
134+
-- stream, calling chunk_callback when a parsed object is found
135135
create_response_stream_filter = (chunk_callback) ->
136136
assert types.function(chunk_callback), "Must provide chunk_callback function when streaming response"
137137

@@ -245,7 +245,5 @@ class ResponsesChatSession
245245

246246
{
247247
:ResponsesChatSession
248-
:parse_responses_response
249-
:parse_response_stream_chunk
250248
:create_response_stream_filter
251249
}

0 commit comments

Comments
 (0)