Change Gemini system instruction parameter key to `systemInstruction` Refer to https://github.com/googleapis/python-genai/blob/main/google/genai/models.py#L772, it seems like both work(?) but this is probably the more correct option if the newer library is using it
Signed| @@ -315,7 +315,7 @@ async function sendMakerSuiteRequest(request, response) { | |||
| 315 | }; | 315 | }; |
| 316 | 316 | ||
| 317 | if (should_use_system_prompt) { | 317 | if (should_use_system_prompt) { |
| 318 | body.system_instruction = prompt.system_instruction; | 318 | body.systemInstruction = prompt.system_instruction; |
| 319 | } | 319 | } |
| 320 | 320 | ||
| 321 | return body; | 321 | return body; |