File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,9 +18,15 @@ export const models: Model[] = [
1818 provider : 'openAI' ,
1919 type : ModelType . REASONING ,
2020 } ,
21+ {
22+ value : 'gpt-5.1-codex-max' ,
23+ label : 'GPT-5.1 Codex Max' ,
24+ provider : 'openAI' ,
25+ type : ModelType . REASONING ,
26+ } ,
2127 {
2228 value : 'gpt-5-mini' ,
23- label : 'GPT-5- mini' ,
29+ label : 'GPT-5 mini' ,
2430 provider : 'openAI' ,
2531 type : ModelType . REASONING ,
2632 } ,
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export const ChatProvider: React.FC<{ children: React.ReactNode }> = ({ children
110110 const router = useRouter ( ) ;
111111 const [ model , setModel ] = useState < Model > ( models [ 0 ] ) ;
112112 const hasNoneEffort = useMemo ( ( ) => {
113- return ! model . value . startsWith ( 'o ') && ! model . value . startsWith ( 'gemini' ) ;
113+ return ! model . value . includes ( 'codex ') && ! model . value . startsWith ( 'gemini' ) ;
114114 } , [ model . value ] ) ;
115115
116116 const updatedReasoningEfforts = useMemo ( ( ) => {
You can’t perform that action at this time.
0 commit comments