fix: Correct parameter name for generation configuration in AI model request
This commit is contained in:
parent
8b4064cb85
commit
40a603ba33
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user