mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-27 15:46:30 +00:00
dev: add gemini to puter.js
This commit is contained in:
@@ -279,6 +279,12 @@ class AI{
|
||||
){
|
||||
driver = 'deepseek';
|
||||
}
|
||||
else if(
|
||||
options.model === 'gemini-1.5-flash' ||
|
||||
options.model === 'gemini-2.0-flash'
|
||||
){
|
||||
driver = 'gemini';
|
||||
}
|
||||
|
||||
// stream flag from settings
|
||||
if(settings.stream !== undefined && typeof settings.stream === 'boolean'){
|
||||
|
||||
Reference in New Issue
Block a user