Upload 5 files
Browse files- InterpreterAtomicFlow.py +5 -2
- README.md +5 -2
InterpreterAtomicFlow.py
CHANGED
|
@@ -32,8 +32,11 @@ class InterpreterAtomicFlow(AtomicFlow):
|
|
| 32 |
*Expected Output*:
|
| 33 |
- `interpreter_output`: output of the code interpreter
|
| 34 |
|
| 35 |
-
Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
|
| 36 |
-
for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()
|
|
|
|
|
|
|
|
|
|
| 37 |
"""
|
| 38 |
def __init__(self,
|
| 39 |
max_output=2000,
|
|
|
|
| 32 |
*Expected Output*:
|
| 33 |
- `interpreter_output`: output of the code interpreter
|
| 34 |
|
| 35 |
+
**Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
|
| 36 |
+
for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
|
| 37 |
+
|
| 38 |
+
I'm extracting the code interpreter part from open-interpreter because the litellm version of open-interpreter
|
| 39 |
+
is not compatible with that of the current version of aiflows(v.0.1.7).
|
| 40 |
"""
|
| 41 |
def __init__(self,
|
| 42 |
max_output=2000,
|
README.md
CHANGED
|
@@ -60,8 +60,11 @@ This flow is used to run the code passed from the caller.
|
|
| 60 |
*Expected Output*:
|
| 61 |
- `interpreter_output`: output of the code interpreter
|
| 62 |
|
| 63 |
-
Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
|
| 64 |
-
for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
<a id="InterpreterAtomicFlow.InterpreterAtomicFlow.set_up_flow_state"></a>
|
| 67 |
|
|
|
|
| 60 |
*Expected Output*:
|
| 61 |
- `interpreter_output`: output of the code interpreter
|
| 62 |
|
| 63 |
+
**Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
|
| 64 |
+
for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
|
| 65 |
+
|
| 66 |
+
I'm extracting the code interpreter part from open-interpreter because the litellm version of open-interpreter
|
| 67 |
+
is not compatible with that of the current version of aiflows(v.0.1.7).
|
| 68 |
|
| 69 |
<a id="InterpreterAtomicFlow.InterpreterAtomicFlow.set_up_flow_state"></a>
|
| 70 |
|