@@ -22,29 +22,29 @@ import { TooltipPortal } from '@radix-ui/react-tooltip'
22
22
import { useUIState } from 'ai/rsc'
23
23
import { AI } from '@/lib/chat/actions'
24
24
25
- const featuredToolCallingModels = [
26
- 'anthropic/claude-3-haiku' ,
27
- 'anthropic/claude-3-sonnet' ,
28
- 'anthropic/claude-3-opus' ,
29
- 'anthropic/claude-3.5-sonnet' ,
30
- 'mistralai/mistral-nemo' ,
31
- 'openai/gpt-3.5-turbo' ,
32
- 'openai/gpt-4-turbo' ,
33
- 'openai/gpt-4' ,
34
- 'openai/gpt-4-0314' ,
35
- 'openai/gpt-4-0613' ,
36
- 'openai/gpt-4-32k' ,
37
- 'openai/gpt-4-32k-0314' ,
38
- // These are highly rate-limited
39
- // 'google/gemini-flash-1.5-exp',
40
- // 'google/gemini-pro-1.5-exp'
41
- // 'meta-llama/llama-3.1-405b-instruct',
42
- 'cohere/command-r-plus-08-2024' ,
25
+ // const featuredToolCallingModels = [
26
+ // 'anthropic/claude-3-haiku',
27
+ // 'anthropic/claude-3-sonnet',
28
+ // 'anthropic/claude-3-opus',
29
+ // 'anthropic/claude-3.5-sonnet',
30
+ // 'mistralai/mistral-nemo',
31
+ // 'openai/gpt-3.5-turbo',
32
+ // 'openai/gpt-4-turbo',
33
+ // 'openai/gpt-4',
34
+ // 'openai/gpt-4-0314',
35
+ // 'openai/gpt-4-0613',
36
+ // 'openai/gpt-4-32k',
37
+ // 'openai/gpt-4-32k-0314',
38
+ // // These are highly rate-limited
39
+ // // 'google/gemini-flash-1.5-exp',
40
+ // // 'google/gemini-pro-1.5-exp'
41
+ // // 'meta-llama/llama-3.1-405b-instruct',
42
+ // 'cohere/command-r-plus-08-2024',
43
43
44
- 'google/gemini-pro-1.5' ,
45
- 'google/gemini-flash-1.5' ,
46
- 'mistralai/mistral-large'
47
- ]
44
+ // 'google/gemini-pro-1.5',
45
+ // 'google/gemini-flash-1.5',
46
+ // 'mistralai/mistral-large'
47
+ // ]
48
48
49
49
export function ModelSelectContent ( ) {
50
50
const { models, isLoading, error } = useModels ( )
@@ -76,13 +76,15 @@ export function ModelSelectContent() {
76
76
</ SelectItem >
77
77
]
78
78
}
79
- return models
80
- . filter ( model => featuredToolCallingModels . includes ( model . id ) )
81
- . map ( model => (
82
- < SelectItem key = { model . id } value = { model . id } >
83
- { model . name }
84
- </ SelectItem >
85
- ) )
79
+ return (
80
+ models
81
+ // .filter(model => featuredToolCallingModels.includes(model.id))
82
+ . map ( model => (
83
+ < SelectItem key = { model . id } value = { model . id } >
84
+ { model . name }
85
+ </ SelectItem >
86
+ ) )
87
+ )
86
88
} , [ models , isLoading , error ] )
87
89
88
90
return (
0 commit comments