olca 0.2.39__tar.gz → 0.2.41__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {olca-0.2.39 → olca-0.2.41}/PKG-INFO +1 -1
- {olca-0.2.39 → olca-0.2.41}/olca/olcacli.py +7 -1
- {olca-0.2.39 → olca-0.2.41}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.39 → olca-0.2.41}/pyproject.toml +1 -1
- {olca-0.2.39 → olca-0.2.41}/setup.py +1 -1
- {olca-0.2.39 → olca-0.2.41}/LICENSE +0 -0
- {olca-0.2.39 → olca-0.2.41}/README.md +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca/__init__.py +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca/fusewill_cli.py +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca/fusewill_utils.py +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca/tracing.py +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca/utils.py +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.39 → olca-0.2.41}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.39 → olca-0.2.41}/setup.cfg +0 -0
@@ -137,6 +137,10 @@ def extract_extra_directories_from_olca_config_system_and_user_input(system_inst
|
|
137
137
|
def print_stream(stream):
|
138
138
|
for s in stream:
|
139
139
|
try:
|
140
|
+
# Skip Langfuse internal state messages and size limit warnings
|
141
|
+
if isinstance(s, dict) and ('keep_alive' in s or 'Item exceeds size limit' in str(s)):
|
142
|
+
continue
|
143
|
+
|
140
144
|
# Handle different response formats
|
141
145
|
if isinstance(s, dict) and "messages" in s:
|
142
146
|
message = s["messages"][-1]
|
@@ -145,8 +149,10 @@ def print_stream(stream):
|
|
145
149
|
|
146
150
|
if isinstance(message, tuple):
|
147
151
|
print(message)
|
148
|
-
|
152
|
+
elif hasattr(message, 'content'):
|
149
153
|
print(message.content)
|
154
|
+
else:
|
155
|
+
print(s)
|
150
156
|
except Exception as e:
|
151
157
|
print(s)
|
152
158
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='olca',
|
5
|
-
version = "0.2.
|
5
|
+
version = "0.2.41",
|
6
6
|
author='Jean GUillaume ISabelle',
|
7
7
|
author_email='jgi@jgwill.com',
|
8
8
|
description='A Python package for experimenting with Langchain agent and interactivity in Terminal modalities.',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|