Update code execution tool description (#32757)

This commit is contained in:
Darnell Andries
2025-12-10 09:58:53 -08:00
committed by GitHub
parent 879fbacde9
commit 02a7494df1
+3 -1
View File
@@ -128,10 +128,12 @@ std::string_view CodeExecutionTool::Description() const {
"string as a result. "
"Use only when the task warrants actual code execution or processing. "
"Do not use this for content generation. "
"Do not use this for fetching information from the internet. "
"Do not use console.log statements or similar statements. Always "
"return a string as a result. Always use an explicit return statement "
"(i.e. return result). "
"The code will be executed in a sandboxed environment.";
"The code will be executed in a sandboxed environment."
"Network requests are not allowed.";
}
std::optional<base::Value::Dict> CodeExecutionTool::InputProperties() const {