multiwoven-integrations 0.18.3 → 0.18.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 794026ebb67f0879ed075a6b92bf57057876de0583d70872ca8bd4416dac630f
|
4
|
+
data.tar.gz: 5d88a300c32b0643ec0cbb37e9e0e867bb88a53c6490a3e73aa55648ec94c74c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 767533f755a673334974c5c4b78a84121aea9a4d0bf31cfc561d12eb6ea2ed5f4dab7e09cc2c534d7556357c4498e4bb7fd719b85715932d1b3ec82d355850b5
|
7
|
+
data.tar.gz: ded0b16e080050df650947e8413536dd44c47bbc902ca335cdac213d393c96144efff6a608154960e45ad9340268364311cfc4c934eab29727aeabba9952b5b7
|
@@ -107,9 +107,10 @@ module Multiwoven::Integrations::Source
|
|
107
107
|
next if entry == "[DONE]"
|
108
108
|
|
109
109
|
data = parse_json(entry)
|
110
|
+
|
111
|
+
raise StandardError, "Error: #{data["error"]["message"]}" if data["error"] && data["error"]["message"]
|
112
|
+
|
110
113
|
yield [RecordMessage.new(data: data, emitted_at: Time.now.to_i).to_multiwoven_message] if block_given?
|
111
|
-
rescue StandardError => e
|
112
|
-
handle_exception(e, { context: "OPEN AI:PROCESS_STREAMING_RESPONSE:EXCEPTION", type: "error", entry: entry })
|
113
114
|
end
|
114
115
|
end
|
115
116
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multiwoven-integrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Subin T P
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|