simple-openai-client 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/simple-openai-client.rb +1 -1
- data/simple-openai-client.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f74224909a064fa0ba25d56108c5bc5b25dfd0401c4e3c7079d1c3dbe083666
|
|
4
|
+
data.tar.gz: 7e6beb0d851934c9565591520037c17d8708f678389dcdfaaf71a1b7dd911183
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85019b0bf9eec3256e428101157aaec486783b48c50159de6b07d0e661c83205facfc3c72652bf9abebc129d4f48b6b59200480ec755a186c4780eefc4b814e0
|
|
7
|
+
data.tar.gz: 4c7dd3ac4c6307af55fc78029004e0997f95a97756f3a43b3426b5f6d241090d5c2cac9d4b17ab4d6bc836fe1b35967ad55f9c949344bf796b3bb88d2ac984c1
|
data/lib/simple-openai-client.rb
CHANGED
|
@@ -121,7 +121,7 @@ class OpenAIClient
|
|
|
121
121
|
|
|
122
122
|
follow_up_request = Net::HTTP::Post.new(follow_up_uri.path, {
|
|
123
123
|
"Content-Type" => "application/json",
|
|
124
|
-
"Authorization" => "Bearer #{
|
|
124
|
+
"Authorization" => "Bearer #{self.api_key}",
|
|
125
125
|
"OpenAI-Beta" => "assistants=#{version}"
|
|
126
126
|
})
|
|
127
127
|
follow_up_request.body = JSON.dump(follow_up_request_body)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'simple-openai-client'
|
|
3
|
-
s.version = '1.0.
|
|
3
|
+
s.version = '1.0.3'
|
|
4
4
|
s.date = '2025-01-05'
|
|
5
5
|
s.summary = "Very simple Ruby library for operating OpenAI API for building Agents."
|
|
6
6
|
s.description = "Very simple Ruby library for operating OpenAI API for building Agents."
|