tiny_gemini 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tiny_gemini.rb +0 -8
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bbd394b0cc2b9b63634b60360e8827c8fe5bb1e482dd2a3b05eb99f7bdef6d0
4
- data.tar.gz: da9fe333b0e14e5cfe0167600a23e547e09b99d981ec7205528a657de326d86d
3
+ metadata.gz: 5fec31bc59d83171347e905341b6e09a3a8dbfe9f564214810fac9b6bd36cdcb
4
+ data.tar.gz: b26ca94d2f8122016cb73f194d016c72e5fb1163595908e163b259662e79b8b4
5
5
  SHA512:
6
- metadata.gz: 7ec88cdc3b50604ed4fff7bb61704324d07dbf7d0b2016312e98e8ed440d9a6672fd73253007854b4c2a3aa70ff671d8165d10a89275400838613bbe542b53f0
7
- data.tar.gz: 9c6f41d624e1bf930097636c19dc8cb4613ed15255db44b54fe255f9089289e1f397de73c429c1f065fa0786044c1936efd6f236eef7a7e08f2e00d0ad712b91
6
+ metadata.gz: '0922057a519f8927f76cf9027eaba67d1dca70294f1ebeda174bf9e7a3cadd2a3f8f43a074a47bdf24b8108764ee81627432bff0f010f20f829990f1adf7f67a'
7
+ data.tar.gz: 7638fbe6bc05aa38c2ccb0cdbe5bded16bc471a5e21e65619d025d7d7675c35e3c0684dea436557952754197a1a758c19ae6aaa9926b63b81be7c9905d8eb82f
data/lib/tiny_gemini.rb CHANGED
@@ -59,14 +59,6 @@ class TinyGemini
59
59
  def chat(messages)
60
60
  body = { contents: messages }
61
61
  body.merge!(system_instruction: { parts: { text: @system_instruction } }) if @system_instruction
62
- body.merge!({
63
- safetySettings: [
64
- {
65
- category: "HARM_CATEGORY_SEXUALLY_EXPLICIT",
66
- threshold: "BLOCK_NONE"
67
- }
68
- ]
69
- })
70
62
 
71
63
  request_body = body.to_json
72
64
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_gemini
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Lunt