mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-18 11:22:22 -06:00
Update the usage of built-in code execution in documentation and sample agent.
PiperOrigin-RevId: 758997215
This commit is contained in:
committed by
Copybara-Service
parent
3686608f8d
commit
9c2358e2a5
@@ -15,7 +15,7 @@
|
||||
"""Data science agent."""
|
||||
|
||||
from google.adk.agents.llm_agent import Agent
|
||||
from google.adk.tools import built_in_code_execution
|
||||
from google.adk.code_executors.built_in_code_executor import BuiltInCodeExecutor
|
||||
|
||||
|
||||
def base_system_instruction():
|
||||
@@ -96,5 +96,5 @@ When plotting trends, you should make sure to sort and order the data by the x-a
|
||||
|
||||
|
||||
""",
|
||||
tools=[built_in_code_execution],
|
||||
code_executor=BuiltInCodeExecutor(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user