Skip to content

Commit

Permalink
fix: Fixed some known bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Amery2010 committed Jan 21, 2025
1 parent 8c3bea9 commit c83c864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ export default function Home() {
height: window.innerHeight / 5,
})
setSiriWave(instance)
setStatus('silence')
}

return () => {
Expand Down
2 changes: 1 addition & 1 deletion utils/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default async function chat({
modelParams.tools = officialPlugins
}
}
if (model.startsWith('gemini-2.0-flash-exp') || model.startsWith('gemini-exp')) {
if (model.startsWith('gemini-2.0-flash-exp')) {
if (modelParams.safetySettings) {
const safetySettings: NewModelParams['safetySettings'] = []
modelParams.safetySettings.forEach((item) => {
Expand Down

0 comments on commit c83c864

Please sign in to comment.