You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(api): correct safetySettings payload structure
The Gemini API expects the 'safetySettings' object to be a top-level property within the main request body, not nested inside 'generationConfig'.
This commit moves the 'safetySettings' object to the correct location in the stream request payload to resolve the 400 Bad Request error.
* refactor(api): optimize safetySettings creation
* fix: added default KV namespace ID
0 commit comments