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 +4 -4
- data/lib/gpt_function/batch.rb +1 -1
- data/lib/gpt_function/version.rb +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: 6dce9279b5824b7438249ec6b5504092ecbf632735392554e94751ee2b51e291
|
4
|
+
data.tar.gz: 4567ebda30b1426e4ce3b88900ab1448d84a20926f68890af572d40ac74b18d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d31f59e645ac0b016ae5c047fb314b8516eee831cba9591b130a7fd6d9910290809de0fb20153e2eb33e601fe1cf0dff24441867704e717090dff7539098210
|
7
|
+
data.tar.gz: bbeafda957d2e0b492a03a319ab27b0888995484d7a488a21f2f82ca484dbaebecefe290caf932c1e72108e2bf009620ca8837a0e365b3a3a0181c39ef85bfbb
|
data/lib/gpt_function/batch.rb
CHANGED
@@ -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
|
data/lib/gpt_function/version.rb
CHANGED