multiwoven-integrations 0.18.2 → 0.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 872d35288639a0863bbe3e91a7413fd19194a60059155231c3afeb5bcc5710b4
4
- data.tar.gz: f3237a02c7905a654a14074879215722bd9fc46fb62a5508a0511fd9dff2123e
3
+ metadata.gz: 794026ebb67f0879ed075a6b92bf57057876de0583d70872ca8bd4416dac630f
4
+ data.tar.gz: 5d88a300c32b0643ec0cbb37e9e0e867bb88a53c6490a3e73aa55648ec94c74c
5
5
  SHA512:
6
- metadata.gz: aeebc66382aaf4c99c92940e7011a8f0f13fee3ade624e0e93ba98cd8c652368f90e485a92f4e1c526f543dc49beb48469d5642c1d86ab8e17fce14ee50521e7
7
- data.tar.gz: 918f48630ce40ad37f0fd86bae8708a18646bc531abe88a844ae18c2ce06b759b942da4fd7c45947384df27629e733eab4288739eb611e3904efd22e2385a084
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.2"
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
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "is_stream": {
18
18
  "type": "boolean",
19
- "title": "Streaming Enabled",
19
+ "title": "Enable streaming",
20
20
  "description": "Enables data streaming for such as chat, when supported by the model. When true, messages and model data are processed in chunks for immediate delivery, enhancing responsiveness. Default is false, processing only after the entire response is received.",
21
21
  "default": false,
22
22
  "order": 1
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.2
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-06 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