This commit is contained in:
Slipstream 2025-05-01 10:09:06 -06:00
parent 5d2656591a
commit f311d9a81a
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -1178,8 +1178,8 @@ async def get_ai_response(cog: 'GurtCog', message: discord.Message, model_name:
# Start with base config (which now includes system_instruction)
final_gen_config_dict = base_generation_config_dict.copy()
final_gen_config_dict.update({
# "response_mime_type": "application/json",
# "response_schema": processed_response_schema,
"response_mime_type": "application/json",
"response_schema": processed_response_schema,
# Explicitly exclude tools/tool_config for final JSON generation
"tools": None,
"tool_config": None,