Update app.py
Browse files
app.py
CHANGED
|
@@ -52,10 +52,8 @@ async def generate(input_text):
|
|
| 52 |
)
|
| 53 |
|
| 54 |
# Tools kombinieren: Google Search + MCP Tools
|
| 55 |
-
tools = [types.Tool(
|
| 56 |
-
|
| 57 |
-
if mcp_declarations:
|
| 58 |
-
tools.append(types.Tool(function_declarations=mcp_declarations))
|
| 59 |
|
| 60 |
contents = [types.Content(
|
| 61 |
role="user",
|
|
|
|
| 52 |
)
|
| 53 |
|
| 54 |
# Tools kombinieren: Google Search + MCP Tools
|
| 55 |
+
tools = [types.Tool(function_declarations=mcp_declarations))]
|
| 56 |
+
|
|
|
|
|
|
|
| 57 |
|
| 58 |
contents = [types.Content(
|
| 59 |
role="user",
|