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: a7653eb7f6a4812fb36284aa6e55e37731f76d940b07158325a03e12d996d969
4
- data.tar.gz: b4ef22d107598afabb138dfa39d65c5bcfdafaa487e3a686635cdff9dc98bdc0
3
+ metadata.gz: 794026ebb67f0879ed075a6b92bf57057876de0583d70872ca8bd4416dac630f
4
+ data.tar.gz: 5d88a300c32b0643ec0cbb37e9e0e867bb88a53c6490a3e73aa55648ec94c74c
5
5
  SHA512:
6
- metadata.gz: 3b81998e0f918d3786799b25eb168c12faae940a25ff31d7245c0af096a09fa1d1e690cb450b3f9aea7d4f4981426490d5873adc086e56d96c677e3950f80a5f
7
- data.tar.gz: 9ec66dffcca0cd3f239418f13ec045ffca7e394631f32e859ca687bc0795fcfa415ffbefcf047424891d8253a0ea853504614be08a2ddc09638aee2a53a0cc3f
6
+ metadata.gz: 767533f755a673334974c5c4b78a84121aea9a4d0bf31cfc561d12eb6ea2ed5f4dab7e09cc2c534d7556357c4498e4bb7fd719b85715932d1b3ec82d355850b5
7
+ data.tar.gz: ded0b16e080050df650947e8413536dd44c47bbc902ca335cdac213d393c96144efff6a608154960e45ad9340268364311cfc4c934eab29727aeabba9952b5b7
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.18.3"
5
+ VERSION = "0.18.4"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -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.3
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-14 00:00:00.000000000 Z
11
+ date: 2025-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport