Skip to content

Commit 9b19727

Browse files
authored
fix:SubprocessInterpreter does not successfully provide code (camel-ai#2024)
1 parent 6793104 commit 9b19727

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

camel/interpreters/docker_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def run(
210210
if self.require_confirm:
211211
logger.info(
212212
f"The following {code_type} code will run on your "
213-
"computer: {code}"
213+
f"computer: {code}"
214214
)
215215
while True:
216216
choice = input("Running code? [Y/n]:").lower()

camel/interpreters/e2b_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def run(
9999
if self.require_confirm:
100100
logger.info(
101101
f"The following {code_type} code will run on your "
102-
"e2b sandbox: {code}"
102+
f"e2b sandbox: {code}"
103103
)
104104
while True:
105105
choice = input("Running code? [Y/n]:").lower()

camel/interpreters/subprocess_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def run(
292292
if self.require_confirm:
293293
logger.info(
294294
f"The following {code_type} code will run on your "
295-
"computer: {code}"
295+
f"computer: {code}"
296296
)
297297
while True:
298298
choice = input("Running code? [Y/n]:").lower().strip()

0 commit comments

Comments
 (0)