Closed sweep-ai[bot] closed 7 months ago
This is an automated message generated by Sweep AI.
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
project-c | β Failed (Inspect) | Feb 10, 2024 3:22pm |
PR Feedback (click)
Description
This pull request modifies the API call to the Google gemini in the
app/api/chat/google/route.ts
file. It adds a newsafetySettings
parameter to thegetGenerativeModel
function, which includes a placeholder structure forfilterLevel
andmaxToxicityScore
.Summary
app/api/chat/google/route.ts
safetySettings
parameter togetGenerativeModel
functionfilterLevel
andmaxToxicityScore
Fixes #2.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: