Same changes but on staging

fc94ed64c1657453c4e1228522f006618d10f15b

Sorro <89468301+Sorro123@users.noreply.github.com>

1 files changed, +3 -0Showing whitespace changes
src/endpoints/backends/chat-completions.js+3 -0
@@ -332,6 +332,8 @@ async function sendMakerSuiteRequest(request, response) {
332332 temperature: request.body.temperature,
333333 topP: request.body.top_p,
334334 topK: request.body.top_k || undefined,
335+ responseMimeType: request.body.responseMimeType,
336+ responseSchema: request.body.responseSchema,
335337 };
336338
337339 function getGeminiBody() {
@@ -365,6 +367,7 @@ async function sendMakerSuiteRequest(request, response) {
365367 contents: prompt.contents,
366368 safetySettings: safetySettings,
367369 generationConfig: generationConfig,
370+ tools: request.body.tools,
368371 };
369372
370373 if (should_use_system_prompt) {