olca 0.2.31__tar.gz → 0.2.32__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {olca-0.2.31 → olca-0.2.32}/PKG-INFO +1 -1
- {olca-0.2.31 → olca-0.2.32}/olca/olcacli.py +6 -3
- {olca-0.2.31 → olca-0.2.32}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.31 → olca-0.2.32}/pyproject.toml +1 -1
- {olca-0.2.31 → olca-0.2.32}/setup.py +1 -1
- {olca-0.2.31 → olca-0.2.32}/LICENSE +0 -0
- {olca-0.2.31 → olca-0.2.32}/README.md +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca/__init__.py +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca/fusewill_cli.py +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca/fusewill_utils.py +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.31 → olca-0.2.32}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.31 → olca-0.2.32}/setup.cfg +0 -0
@@ -177,11 +177,11 @@ def main():
|
|
177
177
|
if args.yes:
|
178
178
|
pass
|
179
179
|
else:
|
180
|
-
|
180
|
+
initialize_config_file()
|
181
181
|
return
|
182
182
|
|
183
183
|
if not os.path.exists(olca_config_file):
|
184
|
-
|
184
|
+
initialize_config_file()
|
185
185
|
return
|
186
186
|
|
187
187
|
config = load_config(olca_config_file)
|
@@ -269,6 +269,9 @@ def main():
|
|
269
269
|
else:
|
270
270
|
tools = load_tools( selected_tools, allow_dangerous_tools=True)
|
271
271
|
|
272
|
+
if human_switch:
|
273
|
+
user_input = user_input + " Dont forget to USE THE HUMAN-IN-THE-LOOP TOOL"
|
274
|
+
system_instructions= system_instructions + ". Use the human-in-the-loop tool"
|
272
275
|
|
273
276
|
# Define the graph
|
274
277
|
graph = create_react_agent(model, tools=tools)
|
@@ -297,7 +300,7 @@ def setup_required_directories(system_instructions, user_input):
|
|
297
300
|
#We dont want to stop the program if it could not create the extra directories but we want to ensure common olca directories exist
|
298
301
|
ensure_directories_exist()
|
299
302
|
|
300
|
-
def
|
303
|
+
def initialize_config_file():
|
301
304
|
try:
|
302
305
|
default_system_instructions = "You are interacting using the human tool addressing carefully what the user is asking."
|
303
306
|
default_user_input = "Interact with me to write a story using the 3 act structure that we will save in ./story/ - Make sure you interact with me and wont quit."
|
@@ -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.32",
|
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
|