langflow-base-nightly 1.7.0.dev47__py3-none-any.whl → 1.7.0.dev49__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.
@@ -69,8 +69,12 @@ class MessageBase(SQLModel):
69
69
  for file in message.files:
70
70
  if hasattr(file, "path") and hasattr(file, "url") and file.path:
71
71
  session_id = message.session_id
72
- if session_id:
73
- image_paths.append(f"{session_id}{file.path.split(str(session_id))[1]}")
72
+ if session_id and str(session_id) in file.path:
73
+ parts = file.path.split(str(session_id))
74
+ if len(parts) > 1:
75
+ image_paths.append(f"{session_id}{parts[1]}")
76
+ else:
77
+ image_paths.append(file.path)
74
78
  else:
75
79
  image_paths.append(file.path)
76
80
  if image_paths:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langflow-base-nightly
3
- Version: 1.7.0.dev47
3
+ Version: 1.7.0.dev49
4
4
  Summary: A Python package with a built-in web application
5
5
  Project-URL: Repository, https://github.com/langflow-ai/langflow
6
6
  Project-URL: Documentation, https://docs.langflow.org
@@ -46,7 +46,7 @@ Requires-Dist: langchain-experimental<1.0.0,>=0.3.0
46
46
  Requires-Dist: langchain-ibm<1.0.0,>=0.3.8
47
47
  Requires-Dist: langchainhub~=0.1.15
48
48
  Requires-Dist: langchain~=0.3.21
49
- Requires-Dist: lfx-nightly==0.2.0.dev47
49
+ Requires-Dist: lfx-nightly==0.2.0.dev49
50
50
  Requires-Dist: loguru<1.0.0,>=0.7.1
51
51
  Requires-Dist: mcp<2.0.0,>=1.17.0
52
52
  Requires-Dist: multiprocess<1.0.0,>=0.70.14
@@ -2168,7 +2168,7 @@ langflow/services/database/models/folder/pagination_model.py,sha256=gWbXRmxsqBHW
2168
2168
  langflow/services/database/models/folder/utils.py,sha256=Fg1c_agTfwYAOJQvP-UZI5MZa1RdTc-Hmf4aETDbWTM,1427
2169
2169
  langflow/services/database/models/message/__init__.py,sha256=8glb0_r05gIHgoSh4-Rb6p7Iz1xeqOBWFzMhAFm8sfY,152
2170
2170
  langflow/services/database/models/message/crud.py,sha256=25qJJT1zjftboxWnDy3FAMYS2LfxGtqKdqXEid8Nnmc,1070
2171
- langflow/services/database/models/message/model.py,sha256=KXigZEXrBf-lKHbSXEIwmKriuKWQX8tcvU1V5nJRP80,7394
2171
+ langflow/services/database/models/message/model.py,sha256=qQQUGaDMyayg8SnYfbRbvm4vPDtydjyj1L7G93SNGr4,7600
2172
2172
  langflow/services/database/models/transactions/__init__.py,sha256=rgYTZHOkYWztmiMjexefoaM4o76ftHKtJVqmuzq2Kvg,68
2173
2173
  langflow/services/database/models/transactions/crud.py,sha256=HL_IlW83QptCguDdKGdfljgTS3aPfirdrSmkXVeLOrw,2822
2174
2174
  langflow/services/database/models/transactions/model.py,sha256=8pcLHdtcnwemjvd3v8E30i-2WBULE1AdqsGSYE_jUpo,3233
@@ -2277,7 +2277,7 @@ langflow/utils/util.py,sha256=bZqi9Fqj2mlp9tKUA-Q4ePpooxtbuVLjlAvdml4kcjs,1516
2277
2277
  langflow/utils/validate.py,sha256=BPqoIMvjl4wbMJTTWo1zMHP0kQCa2TfmDT9f-nPT9Ng,112
2278
2278
  langflow/utils/version.py,sha256=OjSj0smls9XnPd4-LpTH9AWyUO_NAn5mncqKkkXl_fw,2840
2279
2279
  langflow/utils/voice_utils.py,sha256=Ypxg8s5jFd1o5wBbx1W8oKK7vh4kwo0-iuTcFqIwy5I,3350
2280
- langflow_base_nightly-1.7.0.dev47.dist-info/METADATA,sha256=qoMqWZ6RSLtuLFZAjrNKds9NlKFNpVZ8ORtqA0Oe2qM,4461
2281
- langflow_base_nightly-1.7.0.dev47.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
2282
- langflow_base_nightly-1.7.0.dev47.dist-info/entry_points.txt,sha256=JvuLdXSrkeDmDdpb8M-VvFIzb84n4HmqUcIP10_EIF8,57
2283
- langflow_base_nightly-1.7.0.dev47.dist-info/RECORD,,
2280
+ langflow_base_nightly-1.7.0.dev49.dist-info/METADATA,sha256=GDiCbouM9SiSN4dd1lBbSH434HxI1OHLMS7QBSHqO-o,4461
2281
+ langflow_base_nightly-1.7.0.dev49.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
2282
+ langflow_base_nightly-1.7.0.dev49.dist-info/entry_points.txt,sha256=JvuLdXSrkeDmDdpb8M-VvFIzb84n4HmqUcIP10_EIF8,57
2283
+ langflow_base_nightly-1.7.0.dev49.dist-info/RECORD,,