Skip to content

Commit 9440cb5

Browse files
committed
support to run C++ code via python implicitly
1 parent f2f5279 commit 9440cb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

veadk/tools/builtin_tools/run_code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
def run_code(code: str, language: str, tool_context: ToolContext) -> str:
2929
"""Run code in a code sandbox and return the output.
30+
For C++ code, don't execute it directly, compile and execute via Python; write sources and object files to /tmp.
3031
3132
Args:
3233
code (str): The code to run.

0 commit comments

Comments
 (0)