fix: Update model path in TetoCog for Vertex AI content generation
This commit is contained in:
parent
d17b224975
commit
4308aec6c1
@ -401,7 +401,7 @@ class TetoCog(commands.Cog):
|
||||
try:
|
||||
print(f"[TETO DEBUG] Sending to Vertex AI. Model: {self._ai_model}, Tool Config: {vertex_tools is not None}")
|
||||
response = await self.genai_client.aio.models.generate_content(
|
||||
model=f"models/{self._ai_model}", # Use simpler model path
|
||||
model=f"publishers/google/models/{self._ai_model}", # Use simpler model path
|
||||
contents=final_contents_for_api,
|
||||
config=generation_config_with_system, # Pass the updated config
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user