Spaces:
Sleeping
Sleeping
Update gemini-api.js
Browse files- gemini-api.js +1 -1
gemini-api.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* parts, streaming output (as a generator function).
|
4 |
*/
|
5 |
export async function* streamGemini({
|
6 |
-
model = 'gemini-1.5-flash',
|
7 |
contents = [],
|
8 |
} = {}) {
|
9 |
// Send the prompt to the Python backend
|
|
|
3 |
* parts, streaming output (as a generator function).
|
4 |
*/
|
5 |
export async function* streamGemini({
|
6 |
+
model = 'gemini-1.5-flash-002',
|
7 |
contents = [],
|
8 |
} = {}) {
|
9 |
// Send the prompt to the Python backend
|