fix: Correct parameter name in generate_content method for AICodeAgentCog
This commit is contained in:
parent
03dd18ec74
commit
b11a974b64
@ -646,7 +646,7 @@ class AICodeAgentCog(commands.Cog):
|
||||
response = await self.genai_client.aio.models.generate_content(
|
||||
model=f"publishers/google/models/{self._ai_model}",
|
||||
contents=vertex_contents,
|
||||
generation_config=generation_config,
|
||||
config=generation_config, # Corrected parameter name
|
||||
# No 'tools' or 'tool_config' for inline tool usage
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user