vectorvein 0.1.91__py3-none-any.whl → 0.1.93__py3-none-any.whl

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.
@@ -403,7 +403,7 @@ def cutoff_messages(
403
403
  system_message = []
404
404
 
405
405
  for index, message in enumerate(reversed(messages)):
406
- if not message[content_key]:
406
+ if not message.get(content_key):
407
407
  continue
408
408
  count = 0
409
409
  if isinstance(message[content_key], str):
@@ -429,11 +429,16 @@ class Gemini(Node):
429
429
  options=[
430
430
  {"value": "gemini-1.5-flash", "label": "gemini-1.5-flash"},
431
431
  {"value": "gemini-1.5-pro", "label": "gemini-1.5-pro"},
432
- {"value": "gemini-2.0-flash-exp", "label": "gemini-2.0-flash-exp"},
432
+ {"value": "gemini-2.0-flash", "label": "gemini-2.0-flash"},
433
433
  {
434
434
  "value": "gemini-2.0-flash-thinking-exp-01-21",
435
435
  "label": "gemini-2.0-flash-thinking-exp-01-21",
436
436
  },
437
+ {"value": "gemini-2.0-pro-exp-02-05", "label": "gemini-2.0-pro-exp-02-05"},
438
+ {
439
+ "value": "gemini-2.0-flash-lite-preview-02-05",
440
+ "label": "gemini-2.0-flash-lite-preview-02-05",
441
+ },
437
442
  {"value": "gemini-exp-1206", "label": "gemini-exp-1206"},
438
443
  ],
439
444
  ),
@@ -169,6 +169,30 @@ class TextSearch(Node):
169
169
  port_type=PortType.NUMBER,
170
170
  value=10,
171
171
  ),
172
+ "offset": InputPort(
173
+ name="offset",
174
+ port_type=PortType.NUMBER,
175
+ value=0,
176
+ ),
177
+ "freshness": InputPort(
178
+ name="freshness",
179
+ port_type=PortType.SELECT,
180
+ value="all",
181
+ options=[
182
+ {"value": "all", "label": "all"},
183
+ {"value": "day", "label": "day"},
184
+ {"value": "week", "label": "week"},
185
+ {"value": "month", "label": "month"},
186
+ {"value": "custom", "label": "custom"},
187
+ ],
188
+ condition="return fieldsData.search_engine.value === 'bing'",
189
+ ),
190
+ "custom_freshness": InputPort(
191
+ name="custom_freshness",
192
+ port_type=PortType.INPUT,
193
+ value="",
194
+ condition="return fieldsData.freshness.value === 'custom'",
195
+ ),
172
196
  "combine_result_in_text": InputPort(
173
197
  name="combine_result_in_text",
174
198
  port_type=PortType.CHECKBOX,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vectorvein
3
- Version: 0.1.91
3
+ Version: 0.1.93
4
4
  Summary: VectorVein python SDK
5
5
  Author-Email: Anderson <andersonby@163.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
- vectorvein-0.1.91.dist-info/METADATA,sha256=O5Bs6uf2Qjw3E_3Vq-MQ7BTfU3diyveMKiwhhR22wUI,775
2
- vectorvein-0.1.91.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- vectorvein-0.1.91.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ vectorvein-0.1.93.dist-info/METADATA,sha256=rT9Ne1VJGZNokWrrapauOMreRrvt1KNbEeLBAAOzkiQ,775
2
+ vectorvein-0.1.93.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ vectorvein-0.1.93.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
4
  vectorvein/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  vectorvein/chat_clients/__init__.py,sha256=omQuG4PRRPNflSAgtdU--rwsWG6vMpwMEyIGZyFVHVQ,18596
6
6
  vectorvein/chat_clients/anthropic_client.py,sha256=Zk6X1feIvv7Az5dgyipJXbm9TkgWgpFghSTxLiXKKA8,38405
@@ -18,7 +18,7 @@ vectorvein/chat_clients/openai_compatible_client.py,sha256=F_kHsoCtrqJ7jLsgyIZ2m
18
18
  vectorvein/chat_clients/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  vectorvein/chat_clients/qwen_client.py,sha256=-ryh-m9PgsO0fc4ulcCmPTy1155J8YUy15uPoJQOHA0,513
20
20
  vectorvein/chat_clients/stepfun_client.py,sha256=zsD2W5ahmR4DD9cqQTXmJr3txrGuvxbRWhFlRdwNijI,519
21
- vectorvein/chat_clients/utils.py,sha256=Nf7EKtKCuWkIi1zkoU-sSjsTT271OvWJsKzxo0WKJX4,24791
21
+ vectorvein/chat_clients/utils.py,sha256=nXldWLhLCxY4t60Fn3Tp3krFgbgSZSOD5huFnH6tzhw,24795
22
22
  vectorvein/chat_clients/xai_client.py,sha256=eLFJJrNRJ-ni3DpshODcr3S1EJQLbhVwxyO1E54LaqM,491
23
23
  vectorvein/chat_clients/yi_client.py,sha256=RNf4CRuPJfixrwLZ3-DEc3t25QDe1mvZeb9sku2f8Bc,484
24
24
  vectorvein/chat_clients/zhipuai_client.py,sha256=Ys5DSeLCuedaDXr3PfG1EW2zKXopt-awO2IylWSwY0s,519
@@ -43,16 +43,16 @@ vectorvein/workflow/nodes/audio_generation.py,sha256=ht2S0vnd0mIAt6FBaSWlADGbb7f
43
43
  vectorvein/workflow/nodes/control_flows.py,sha256=Zc_uWuroYznLrU-BZCncyzvejC-zFl6EuN_VP8oq5mY,6573
44
44
  vectorvein/workflow/nodes/file_processing.py,sha256=Rsjc8al0z-2KuweO0nIybWvceqxbqOPQyTs0-pgy5m4,3980
45
45
  vectorvein/workflow/nodes/image_generation.py,sha256=fXOhLGodJ3OdKBPXO5a3rq4wN2GMJ0jwqKO_gJFdocU,32852
46
- vectorvein/workflow/nodes/llms.py,sha256=lCq5MVv6k4sEbRfnImQVM1Zzzsyuud-1XuapezIjfQc,34557
46
+ vectorvein/workflow/nodes/llms.py,sha256=RD3z5hsVJ722zCgBaM7PncgqvBcFA-f_XFSaOvhgMhc,34859
47
47
  vectorvein/workflow/nodes/media_editing.py,sha256=Od0X0SdcyRhcJckWpDM4WvgWEKxaIsgMXpMifN8Sc5M,29405
48
48
  vectorvein/workflow/nodes/media_processing.py,sha256=t-azYDphXmLRdOyHDfXFTS1tsEOyKqKskDyD0y232j8,19043
49
49
  vectorvein/workflow/nodes/output.py,sha256=_UQxiddHtGv2rkjhUFE-KDgrjnh0AGJQJyq9-4Aji5A,12567
50
50
  vectorvein/workflow/nodes/relational_db.py,sha256=zfzUhV25TpZGhkIzO18PmAT5xhcsJC4AXKy0zyA05w8,5408
51
51
  vectorvein/workflow/nodes/text_processing.py,sha256=cfepHoy8JaFDqWLUzl6lmlDlKaH0vk1gWQSm7T0wmn8,7503
52
- vectorvein/workflow/nodes/tools.py,sha256=Vw7yPdPqENqQ-MwbPcz5LQ-5036UGApCPX6ZspPOw40,12739
52
+ vectorvein/workflow/nodes/tools.py,sha256=uMlqJQI9oel3pG4WYrZdpSmWWy2pDQkAIzqOv5z3tB4,13811
53
53
  vectorvein/workflow/nodes/triggers.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  vectorvein/workflow/nodes/vector_db.py,sha256=t6I17q6iR3yQreiDHpRrksMdWDPIvgqJs076z-7dlQQ,5712
55
55
  vectorvein/workflow/nodes/video_generation.py,sha256=qmdg-t_idpxq1veukd-jv_ChICMOoInKxprV9Z4Vi2w,4118
56
56
  vectorvein/workflow/nodes/web_crawlers.py,sha256=LsqomfXfqrXfHJDO1cl0Ox48f4St7X_SL12DSbAMSOw,5415
57
57
  vectorvein/workflow/utils/json_to_code.py,sha256=F7dhDy8kGc8ndOeihGLRLGFGlquoxVlb02ENtxnQ0C8,5914
58
- vectorvein-0.1.91.dist-info/RECORD,,
58
+ vectorvein-0.1.93.dist-info/RECORD,,