Skip to content

Commit f8744eb

Browse files
committed
Fix
1 parent 2582c3d commit f8744eb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

code_it/langchain/code_it_tool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
class CodeItTool:
1010
def __init__(self, model_builder: HTTPBaseLLM, config: TaskExecutionConfig) -> None:
1111
self.model_builder = model_builder
12+
self.config = config
1213

1314
logging.basicConfig(
1415
level=logging.INFO,
@@ -18,7 +19,7 @@ def __init__(self, model_builder: HTTPBaseLLM, config: TaskExecutionConfig) -> N
1819

1920
def execute_task(self, task):
2021
code_editor = PythonCodeEditor()
21-
task_executor = TaskExecutor(code_editor, self.model_builder)
22+
task_executor = TaskExecutor(code_editor, self.model_builder, self.config)
2223
return task_executor.execute(task)
2324

2425
def build_execute_task(self):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def read(fname):
1414

1515
setup(
1616
name="code_it",
17-
version="0.3.0dev",
17+
version="0.3.0",
1818
author="Paolo Rechia",
1919
author_email="[email protected]",
2020
maintainer="Paolo Rechia",

0 commit comments

Comments
 (0)