File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1010/test /tmp /
1111/test /version_tmp /
1212/tmp /
13- /.bundle /
14- /.yardoc
15- /_yardoc /
16- /doc /
17-
1813
1914# Used by dotenv library to load environment variables.
2015.env
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def openai_headers
1919 "Content-Type" => "application/json" ,
2020 "Authorization" => "Bearer #{ @access_token } " ,
2121 "OpenAI-Organization" => @organization_id
22- }
22+ } . compact
2323 end
2424
2525 def azure_headers
Original file line number Diff line number Diff line change 263263
264264 it {
265265 expect ( headers ) . to eq ( { "Authorization" => "Bearer #{ OpenAI . configuration . access_token } " ,
266- "Content-Type" => "application/json" , "OpenAI-Organization" => nil } )
266+ "Content-Type" => "application/json" } )
267267 }
268268
269269 describe "with Azure" do
You can’t perform that action at this time.
0 commit comments