docs: update tool docs
This commit is contained in:
parent
cb611f9270
commit
e5c69cb7ee
|
|
@ -54,11 +54,6 @@ All temporary work happens in `{MOUNT_POINT}/user-data/workspace`. Final deliver
|
||||||
- Working on AIGC with Gemini Nano Banana
|
- Working on AIGC with Gemini Nano Banana
|
||||||
</memory_and_context>
|
</memory_and_context>
|
||||||
|
|
||||||
<python>
|
|
||||||
- Use `python` to run Python code.
|
|
||||||
- Use `pip install` to install Python packages.
|
|
||||||
</python>
|
|
||||||
|
|
||||||
<critical_reminders>
|
<critical_reminders>
|
||||||
- Skill First: Always load the relevant skill before starting **complex** tasks.
|
- Skill First: Always load the relevant skill before starting **complex** tasks.
|
||||||
- Progressive Loading: Load resources incrementally as referenced in skills
|
- Progressive Loading: Load resources incrementally as referenced in skills
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,11 @@ from src.sandbox.sandbox_provider import get_sandbox_provider
|
||||||
|
|
||||||
@tool("bash", parse_docstring=True)
|
@tool("bash", parse_docstring=True)
|
||||||
def bash_tool(description: str, command: str) -> str:
|
def bash_tool(description: str, command: str) -> str:
|
||||||
"""Execute a bash command.
|
"""Execute a bash command in a Linux environment.
|
||||||
|
|
||||||
|
|
||||||
|
- Use `python` to run Python code.
|
||||||
|
- Use `pip install` to install Python packages.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
description: Explain why you are running this command in short words.
|
description: Explain why you are running this command in short words.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue