luogu 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a148eff2b580b1fc02bf9a71ffbef28bcfbe54752bc73c877ea17ed19cf301c4
4
- data.tar.gz: edeb9d2d566292180ad9cc29c172a2e7545c1656dd3791258780adf8a0587571
3
+ metadata.gz: e2401b23417623ac4cf2c9aefcd245b6de3bd24fe2a15518f709b4f18babe06b
4
+ data.tar.gz: 62ebbbc5608cbea4d3b68e50cec002d4a586c7af378eb5b7982aef84536d46ee
5
5
  SHA512:
6
- metadata.gz: 3fd79fb77f48a73cd6e64194cd2826e23ad27c18d7904c0a737c0b2340bc080a33e65271f005f91a6182eed36f77ccb08c15efd4f93c43588b3ac6800af2e48c
7
- data.tar.gz: 4f3fbb7674ae5dd9ddf3df8979ccbea102552527eba4090309cf6a0265d4022701e1338d91fa8dba4283acc9bede24398365ad8dddc4e4efe606e0b28e9b3e9f
6
+ metadata.gz: 969ee9c8d69a3632b0d09a6a880ada1b297876d95a4e305edcb7f91ef8e7ef05162e77db64c7535d0c443e37a590478c9b6b34e1337bac182bbdc3c33498a05e
7
+ data.tar.gz: 938498297be75543a181b8a715868aedc339fd2747196fe969e0a475ba847c2f4dc6fff435fc9cc9b9ce6c8d944c610d3558969a54d25312b2ea25cf0ffbe74e
data/lib/luogu/openai.rb CHANGED
@@ -80,7 +80,7 @@ module Luogu::OpenAI
80
80
  @system = {}
81
81
  end
82
82
 
83
- def system(text: nil, file_: nil)
83
+ def system(text: nil, file: nil)
84
84
  data = text || File.read(file)
85
85
  @system = {role: "system", content: data}
86
86
  self
data/lib/luogu/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Luogu
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luogu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MJ