File tree 3 files changed +20
-6
lines changed
3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,9 @@ This will allow you to use Morphic as your default search engine in the browser.
175
175
- gpt-4-turbo
176
176
- gpt-3.5-turbo
177
177
- Google
178
- - Gemini 1.5 Pro (Unstable)
179
- - Gemini 2.0 Flash (Experimental)
178
+ - Gemini 2.0 Pro (Experimental)
179
+ - Gemini 2.0 Flash Thinking (Experimental)
180
+ - Gemini 2.0 Flash
180
181
- Anthropic
181
182
- Claude 3.5 Sonnet
182
183
- Claude 3.5 Hike
Original file line number Diff line number Diff line change @@ -43,14 +43,20 @@ export const models: Model[] = [
43
43
providerId : 'deepseek'
44
44
} ,
45
45
{
46
- id : 'gemini-1.5 -pro-002 ' ,
47
- name : 'Gemini 1.5 Pro' ,
46
+ id : 'gemini-2.0 -pro-exp-02-05 ' ,
47
+ name : 'Gemini 2.0 Pro (Exp) ' ,
48
48
provider : 'Google Generative AI' ,
49
49
providerId : 'google'
50
50
} ,
51
51
{
52
- id : 'gemini-2.0-flash-exp' ,
53
- name : 'Gemini 2.0 Flash (Experimental)' ,
52
+ id : 'gemini-2.0-flash-thinking-exp-01-21' ,
53
+ name : 'Gemini 2.0 Flash Thinking (Exp)' ,
54
+ provider : 'Google Generative AI' ,
55
+ providerId : 'google'
56
+ } ,
57
+ {
58
+ id : 'gemini-2.0-flash' ,
59
+ name : 'Gemini 2.0 Flash' ,
54
60
provider : 'Google Generative AI' ,
55
61
providerId : 'google'
56
62
} ,
Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ export function getToolCallModel(model?: string) {
129
129
const ollamaModel =
130
130
process . env . NEXT_PUBLIC_OLLAMA_TOOL_CALL_MODEL || modelName
131
131
return getModel ( `ollama:${ ollamaModel } ` )
132
+ case 'google' :
133
+ return getModel ( 'google:gemini-2.0-flash' )
132
134
default :
133
135
return getModel ( 'openai:gpt-4o-mini' )
134
136
}
@@ -141,6 +143,11 @@ export function isToolCallSupported(model?: string) {
141
143
if ( provider === 'ollama' ) {
142
144
return false
143
145
}
146
+
147
+ if ( provider === 'google' ) {
148
+ return false
149
+ }
150
+
144
151
// Deepseek R1 is not supported
145
152
// Deepseek v3's tool call is unstable, so we include it in the list
146
153
return ! modelName ?. includes ( 'deepseek' )
You can’t perform that action at this time.
0 commit comments