multiwoven-integrations 0.41.8 → 0.41.10

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: cc1293c0d20713678c840280bf1cbe9cc1cfa60280897e581ce1230807e8377a
4
- data.tar.gz: a9b321a3f5eabfab1b5de744aaf2bbb5e949f6244cf757b134626047330af3d2
3
+ metadata.gz: bca80f558a046bf547203d290844fd167499851db1282cb0f939787aa39c6c3c
4
+ data.tar.gz: 59e9a9e02fc05b8ca2fcfc2efd1e0f2a7b2c032165137c41846451c27c89a679
5
5
  SHA512:
6
- metadata.gz: a78e53ff9f535168b2b42c0d3838b32a38d95dd06fe455c0122273ae8d40b0eea219c50a39674df41b8878b102c7489f63492b87c3d281b25a976212dd57fe41
7
- data.tar.gz: 3c7a356e35cfa48d3b7e5dacc3fcdc14dc0155a813a473d1ab4688a3524bb78e09d401c213a8a636b9592a86215d56e7b6027855a38101449d2033395bde0f9c
6
+ metadata.gz: 2b3207fb708fc988fd090a1e6f040cbb427b170208f9fb5537bf9216733e5c14a75a3acb9e27e815059d56508a22c6fd4347d8b88b5bce2a7484a356960992ef
7
+ data.tar.gz: 59bdabef23a0379bebd7905c57b50199b79dfc8e74bcf9e24ea5beb180f2492c02a5c901895a83d3ba871dc05769a5230749f20643383b2b6413697ac5d103bb
@@ -107,13 +107,14 @@ module Multiwoven
107
107
 
108
108
  return excluded_openai_model?(model_id) if openrouter_id.start_with?("openai/")
109
109
  return excluded_anthropic_model?(model_id) if openrouter_id.start_with?("anthropic/")
110
+ return excluded_google_gemini_model?(model_id) if openrouter_id.start_with?("google/")
110
111
 
111
112
  false
112
113
  end
113
114
 
114
115
  def excluded_openai_model?(model_id)
115
- @open_ai_exclude_models ||= OPEN_AI_EXCLUDE_MODELS.split(",").map(&:strip).reject(&:empty?)
116
- @open_ai_exclude_models.include?(model_id)
116
+ @openai_exclude_models ||= OPENAI_EXCLUDE_MODELS.split(",").map(&:strip).reject(&:empty?)
117
+ @openai_exclude_models.include?(model_id)
117
118
  end
118
119
 
119
120
  def excluded_anthropic_model?(model_id)
@@ -136,6 +137,11 @@ module Multiwoven
136
137
  minor ? "#{major}.#{minor}" : major
137
138
  end
138
139
 
140
+ def excluded_google_gemini_model?(model_id)
141
+ @google_gemini_exclude_models ||= GOOGLE_GEMINI_EXCLUDE_MODELS.split(",").map(&:strip).reject(&:empty?)
142
+ @google_gemini_exclude_models.include?(model_id)
143
+ end
144
+
139
145
  def read_json(file_path)
140
146
  path = Object.const_source_location(self.class.to_s)[0]
141
147
  connector_folder = File.dirname(path)
@@ -16,8 +16,9 @@ module Multiwoven
16
16
 
17
17
  JSON_SCHEMA_URL = "https://json-schema.org/draft-07/schema#"
18
18
 
19
- OPEN_AI_EXCLUDE_MODELS = ENV["OPEN_AI_EXCLUDE_MODELS"] || ""
19
+ OPENAI_EXCLUDE_MODELS = ENV["OPENAI_EXCLUDE_MODELS"] || ""
20
20
  ANTHROPIC_EXCLUDE_MODELS = ENV["ANTHROPIC_EXCLUDE_MODELS"] || ""
21
+ GOOGLE_GEMINI_EXCLUDE_MODELS = ENV["GOOGLE_GEMINI_EXCLUDE_MODELS"] || ""
21
22
 
22
23
  # CONNECTORS
23
24
  INSTALL_HTTPFS_QUERY = ENV["INSTALL_HTTPFS_QUERY"] || "INSTALL HTTPFS; LOAD HTTPFS;"
@@ -67,7 +67,7 @@ module Multiwoven::Integrations::Destination
67
67
  def write_compressed_data(connection_config, file_path, local_file_name, csv_content, records_size)
68
68
  write_success = 0
69
69
  Tempfile.create([local_file_name, ".zip"]) do |tempfile|
70
- Zip::File.open(tempfile.path, Zip::File::CREATE) do |zipfile|
70
+ Zip::File.open(tempfile.path, create: true) do |zipfile|
71
71
  zipfile.get_output_stream("#{local_file_name}.csv") { |f| f.write(csv_content) }
72
72
  end
73
73
  with_sftp_client(connection_config) do |sftp|
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.41.8"
5
+ VERSION = "0.41.10"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -1,26 +1,4 @@
1
1
  {
2
- "//models": "Sourced live from OpenRouter. Embedding models are curated here because OpenRouter lists none.",
3
- "models": [
4
- {
5
- "id": "text-embedding-004",
6
- "name": "Text Embedding 004",
7
- "model_type": "embedding",
8
- "type": "embedding",
9
- "tasks": [
10
- "Text Embeddings"
11
- ],
12
- "context_window": 2048,
13
- "max_output": null,
14
- "pricing": {
15
- "input": 0.0,
16
- "output": null,
17
- "cached_read": null,
18
- "cached_write": null,
19
- "unit": "per_1m_tokens"
20
- },
21
- "capabilities": [
22
- "Documents"
23
- ]
24
- }
25
- ]
2
+ "//models": "Sourced live from OpenRouter via the openrouter_slug in meta.json. Do not hand-curate; add entries here only for models OpenRouter does not list.",
3
+ "models": []
26
4
  }
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.41.8
4
+ version: 0.41.10
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: 2026-09-09 00:00:00.000000000 Z
11
+ date: 2026-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport