ashishja commited on
Commit
b76db19
·
verified ·
1 Parent(s): b37e524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ from typing import AsyncGenerator, Dict, Any
12
  from google.genai import types as genai_types
13
  from google.adk.tools import ToolContext, FunctionTool
14
  import logging
15
- from google.adk.tools import built_in_code_execution
16
  from google.adk.tools import agent_tool
17
  import asyncio
18
 
@@ -89,7 +89,7 @@ code_agent = LlmAgent(
89
  "If the question contains a file with .txt or .json, get the file and use code to parse it and answer the question. "
90
  "Always use the code execution tool to run your code and provide only the final answer."
91
  ),
92
- tools=[built_in_code_execution],
93
  )
94
 
95
  search_agent = LlmAgent(
 
12
  from google.genai import types as genai_types
13
  from google.adk.tools import ToolContext, FunctionTool
14
  import logging
15
+ #from google.adk.tools import built_in_code_execution
16
  from google.adk.tools import agent_tool
17
  import asyncio
18
 
 
89
  "If the question contains a file with .txt or .json, get the file and use code to parse it and answer the question. "
90
  "Always use the code execution tool to run your code and provide only the final answer."
91
  ),
92
+ #tools=[built_in_code_execution],
93
  )
94
 
95
  search_agent = LlmAgent(