Skip to content

Commit c83c864

Browse files
committed
fix: Fixed some known bugs
1 parent 8c3bea9 commit c83c864

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,7 @@ export default function Home() {
816816
height: window.innerHeight / 5,
817817
})
818818
setSiriWave(instance)
819+
setStatus('silence')
819820
}
820821

821822
return () => {

utils/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default async function chat({
101101
modelParams.tools = officialPlugins
102102
}
103103
}
104-
if (model.startsWith('gemini-2.0-flash-exp') || model.startsWith('gemini-exp')) {
104+
if (model.startsWith('gemini-2.0-flash-exp')) {
105105
if (modelParams.safetySettings) {
106106
const safetySettings: NewModelParams['safetySettings'] = []
107107
modelParams.safetySettings.forEach((item) => {

0 commit comments

Comments
 (0)