File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
contributing/samples/local_environment_skill Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ def get_wind_speed(location: str) -> str:
5454 return f"The wind speed in { location } is 10 mph."
5555
5656
57- BASE_INSTRUCTION = "You are a helpful AI assistant that can use the local environment to execute commands and file I/O."
57+ BASE_INSTRUCTION = (
58+ "You are a helpful AI assistant that can use the local environment to"
59+ " execute commands and file I/O."
60+ )
5861
5962SKILL_USAGE_INSTRUCTION = """\
6063 [SKILLS ACCESS]
@@ -76,11 +79,15 @@ def get_wind_speed(location: str) -> str:
7679root_agent = Agent (
7780 model = "gemini-2.5-pro" ,
7881 name = "local_environment_skill_agent" ,
79- description = "An agent that uses local environment tools to load and use skills." ,
82+ description = (
83+ "An agent that uses local environment tools to load and use skills."
84+ ),
8085 instruction = f"{ BASE_INSTRUCTION } \n \n { SKILL_USAGE_INSTRUCTION } " ,
8186 tools = [
8287 EnvironmentToolset (
83- environment = LocalEnvironment (working_dir = pathlib .Path (__file__ ).parent ),
88+ environment = LocalEnvironment (
89+ working_dir = pathlib .Path (__file__ ).parent
90+ ),
8491 ),
8592 GetTimezoneTool (),
8693 get_wind_speed ,
You can’t perform that action at this time.
0 commit comments