Skip to content

Commit d24c754

Browse files
committed
update config
1 parent 630a033 commit d24c754

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ if (typeof API_KEY !== "string") {
2727
throw new Error("set REACT_APP_GEMINI_APIK_KEY in .env");
2828
}
2929

30-
//const host='generativelanguage.googleapis.com';
31-
const host = "autopush-generativelanguage.sandbox.googleapis.com";
30+
const host = "generativelanguage.googleapis.com";
3231
const uri = `wss://${host}/ws/google.ai.generativelanguage.v1alpha.GenerativeService.BidiGenerateContent`;
3332

3433
function App() {

src/hooks/use-live-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function useLiveAPI({
4646

4747
const [connected, setConnected] = useState(false);
4848
const [config, setConfig] = useState<LiveConfig>({
49-
model: "models/gemini-v3-s-test",
49+
model: "models/gemini-2.0-flash-exp",
5050
});
5151
const [volume, setVolume] = useState(0);
5252

0 commit comments

Comments
 (0)