fix: Correct parameter name for generation configuration in AI model request

This commit is contained in:
Slipstream 2025-06-01 17:50:38 -06:00
parent 8b4064cb85
commit 40a603ba33
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -1110,7 +1110,7 @@ CRITICAL: Do NOT output anything other than the required JSON response.
response = await self.genai_client.aio.models.generate_content(
model=model_path, # Correctly formatted model path
contents=request_contents, # User's message with context and images
generation_config=final_generation_config, # Pass the config with system_instruction
config=final_generation_config, # Pass the config with system_instruction
)
ai_response_content = self._get_response_text(response)