Skip to content

Commit

Permalink
remove other jsonl parse
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieGroves committed Jun 25, 2024
1 parent 9cebea9 commit c038b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/openai/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ module HTTP
include HTTPHeaders

def get(path:, parameters: nil)
parse_jsonl(conn.get(uri(path: path), parameters) do |req|
conn.get(uri(path: path), parameters) do |req|
req.headers = headers
end&.body)
end&.body
end

def post(path:)
Expand Down

0 comments on commit c038b2d

Please sign in to comment.