Skip to content

Commit ea304b8

Browse files
Minor tool instruction update.
1 parent 80dd3d7 commit ea304b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/smolagents/bp_tools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ def run_os_command(str_command: str, timeout: int = 600, max_memory:int = 274877
279279
To run a bash command (such as with && or with env variables), use "bash -c ...":
280280
<example>
281281
<runcode>
282-
print(run_os_command("bash -c 'LD_LIBRARY_PATH=src ./src/tests/Benchmark32'"))
282+
print(run_os_command("bash -c 'cd /home/bpsa/app/pas-core-math/src/tests/ && build.sh -dAVX2 -CfAVX2 -CpCOREI -OpCOREI'"))
283+
print(run_os_command("bash -c 'LD_LIBRARY_PATH=src ./bin/Benchmark32'"))
283284
</runcode>
284285
</example>
285286

0 commit comments

Comments
 (0)