agent: hint at math import in python tool
This commit is contained in:
parent
9fe269e24a
commit
a61ebebaa0
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from typing import Dict, Union
|
|||
def execute_python(source: str) -> Union[Dict, str]:
|
||||
"""
|
||||
Evaluate a Python program and return the globals it declared.
|
||||
Can be used to compute mathematical expressions.
|
||||
Can be used to compute mathematical expressions (e.g. after importing math module).
|
||||
|
||||
Args:
|
||||
source: contain valid, executable and pure Python code. Should also import any required Python packages.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue