File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " deep-research" ,
33 "description" : " Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server." ,
4- "version" : " 0.10.0 " ,
4+ "version" : " 0.10.1 " ,
55 "license" : " MIT" ,
66 "repository" : {
77 "url" : " https://github.com/u14app/deep-research"
Original file line number Diff line number Diff line change @@ -84,7 +84,9 @@ function useDeepResearch() {
8484 // Enable OpenAI's built-in search tool
8585 if (
8686 [ "openai" , "azure" , "openaicompatible" ] . includes ( provider ) &&
87- model . startsWith ( "gpt-4o" )
87+ ( model . startsWith ( "gpt-4o" ) ||
88+ model . startsWith ( "gpt-4.1" ) ||
89+ model . startsWith ( "gpt-5" ) )
8890 ) {
8991 return {
9092 web_search_preview : openai . tools . webSearchPreview ( {
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ export const defaultValues: SettingStore = {
9292 mode : "" ,
9393 apiKey : "" ,
9494 apiProxy : "" ,
95- thinkingModel : "gemini-2.0-flash-thinking-exp " ,
96- networkingModel : "gemini-2.0 -flash" ,
95+ thinkingModel : "gemini-2.5-pro " ,
96+ networkingModel : "gemini-2.5 -flash" ,
9797 googleVertexProject : "" ,
9898 googleVertexLocation : "" ,
9999 googleClientEmail : "" ,
@@ -107,8 +107,8 @@ export const defaultValues: SettingStore = {
107107 openRouterNetworkingModel : "" ,
108108 openAIApiKey : "" ,
109109 openAIApiProxy : "" ,
110- openAIThinkingModel : "gpt-4o " ,
111- openAINetworkingModel : "gpt-4o -mini" ,
110+ openAIThinkingModel : "gpt-5 " ,
111+ openAINetworkingModel : "gpt-5 -mini" ,
112112 anthropicApiKey : "" ,
113113 anthropicApiProxy : "" ,
114114 anthropicThinkingModel : "" ,
Original file line number Diff line number Diff line change @@ -211,7 +211,9 @@ class DeepResearch {
211211 if (
212212 provider === "model" &&
213213 [ "openai" , "azure" , "openaicompatible" ] . includes ( taskModel ) &&
214- taskModel . startsWith ( "gpt-4o" )
214+ ( taskModel . startsWith ( "gpt-4o" ) ||
215+ taskModel . startsWith ( "gpt-4.1" ) ||
216+ taskModel . startsWith ( "gpt-5" ) )
215217 ) {
216218 const { openai } = await import ( "@ai-sdk/openai" ) ;
217219 return {
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ export async function createAIProvider({
5252 baseURL,
5353 apiKey,
5454 } ) ;
55- return model . startsWith ( "gpt-4o" )
55+ return model . startsWith ( "gpt-4o" ) ||
56+ model . startsWith ( "gpt-4.1" ) ||
57+ model . startsWith ( "gpt-5" )
5658 ? openai . responses ( model )
5759 : openai ( model , settings ) ;
5860 } else if ( provider === "anthropic" ) {
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ export function filterOpenAIModelList(modelList: string[]) {
8686 if (
8787 model . startsWith ( "gpt-4o" ) ||
8888 model . startsWith ( "gpt-4.1" ) ||
89+ model . startsWith ( "gpt-5" ) ||
8990 ! model . includes ( "nano" )
9091 ) {
9192 networkingModelList . push ( model ) ;
You can’t perform that action at this time.
0 commit comments