This commit is contained in:
Slipstream 2025-04-27 20:36:42 -06:00
parent 40d51641e3
commit bf9735de8c
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
2 changed files with 3 additions and 2 deletions

View File

@ -161,8 +161,8 @@ RESPONSE_SCHEMA = {
"description": "The text content of the bot's response. Can be empty if only reacting."
},
"react_with_emoji": {
"type": ["string", "null"],
"description": "Optional: A standard Discord emoji to react with, or null if no reaction."
"type": "string", # Corrected: Use single type; nullability handled by not being required
"description": "Optional: A standard Discord emoji to react with, or null/empty if no reaction."
},
# Note: tool_requests is handled by Vertex AI's function calling mechanism
},

View File

@ -16,6 +16,7 @@ from typing import Dict, List, Any, Optional, Tuple, Union # Added Union
from tavily import TavilyClient
import docker
import aiodocker # Use aiodocker for async operations
from asteval import Interpreter # Added for calculate tool
# Relative imports from within the gurt package and parent
from .memory import MemoryManager # Import from local memory.py