gpt-function 0.7.0 → 0.8.0

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: 6bba9981ceaa4edd441b41d6fe05ddf9f6a7a8545e66853fb7d863e600fd2c91
4
- data.tar.gz: c5c729ddf3db4c76ba9d44edc6de991c68088ff054cc1e04a9d69ac95e368190
3
+ metadata.gz: 6dce9279b5824b7438249ec6b5504092ecbf632735392554e94751ee2b51e291
4
+ data.tar.gz: 4567ebda30b1426e4ce3b88900ab1448d84a20926f68890af572d40ac74b18d4
5
5
  SHA512:
6
- metadata.gz: 72266ef62eea0e2807de3fc3ddd1c7228b7e9115ca8ae3cc05e35b4526ff23afcb63e8b9f938828f3514a65ad1844d39f6421cd2569572a5a49c8c39e1b72215
7
- data.tar.gz: b001c0c07bd574348abb06fbf68394dc42b830d7ed9be58622827fcd0518dcaa05cafc4fdee9837d5a49a4968a63205680cc01ad166b2850dfa94bf8b43befc4
6
+ metadata.gz: 8d31f59e645ac0b016ae5c047fb314b8516eee831cba9591b130a7fd6d9910290809de0fb20153e2eb33e601fe1cf0dff24441867704e717090dff7539098210
7
+ data.tar.gz: bbeafda957d2e0b492a03a319ab27b0888995484d7a488a21f2f82ca484dbaebecefe290caf932c1e72108e2bf009620ca8837a0e365b3a3a0181c39ef85bfbb
@@ -296,7 +296,7 @@ class GptFunction
296
296
  yield batch
297
297
 
298
298
  # 如果 batch 還未處理完成,將批次請求重新加入 Storage
299
- if batch.is_processed && auto_delete
299
+ if batch.is_processed && batch.auto_delete
300
300
  batch&.input_file&.delete rescue nil
301
301
  batch&.output_file&.delete rescue nil
302
302
  batch&.error_file&.delete rescue nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GptFunction
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gpt-function
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - etrex kuo