Skip to content

[KDD'2026] "VideoRAG: Chat with Your Videos"

update support for gpt-5

Re-bin36be02b2dbb5
diff --git a/Vimo-desktop/src/renderer/src/components/InitializationWizard.tsx b/Vimo-desktop/src/renderer/src/components/InitializationWizard.tsx
index dcc35fb..86b2093 100644
--- a/Vimo-desktop/src/renderer/src/components/InitializationWizard.tsx
+++ b/Vimo-desktop/src/renderer/src/components/InitializationWizard.tsx
@@ -447,26 +447,34 @@ const InitializationWizard: React.FC<InitializationWizardProps> = ({ onComplete
<label className="text-sm font-medium text-gray-700 block mb-2">
Processing Model
</label>
- <input
- type="text"
- value="gpt-4o-mini"
- readOnly
- className="w-full px-3 py-2 text-sm border border-gray-300 rounded-md bg-gray-100 text-gray-600"
- />
- <p className="text-xs text-gray-500 mt-1">Fixed model for high-volume preprocessing</p>
+ <select
+ value={apiKeySettings.processingModel}
+ onChange={(e) => handleApiKeyChange('processingModel', e.target.value)}
+ className="w-full px-3 py-2 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white"
+ >
+ <option value="gpt-4o-mini">gpt-4o-mini</option>
+ <option value="gpt-4o">gpt-4o</option>
+ <option value="gpt-5-mini">gpt-5-mini</option>
+ <option value="gpt-5">gpt-5</option>
+ </select>
+ <p className="text-xs text-gray-500 mt-1">Choose model for high-volume preprocessing</p>
</div>
<div>
<label className="text-sm font-medium text-gray-700 block mb-2">
Analysis Model
</label>
- <input
- type="text"
- value="gpt-4o-mini"
- readOnly
- className="w-full px-3 py-2 text-sm border border-gray-300 rounded-md bg-gray-100 text-gray-600"
- />
- <p className="text-xs text-gray-500 mt-1">Fixed model for detailed analysis tasks</p>
+ <select
+ value={apiKeySettings.analysisModel}
+ onChange={(e) => handleApiKeyChange('analysisModel', e.target.value)}
+ className="w-full px-3 py-2 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white"
+ >
+ <option value="gpt-4o-mini">gpt-4o-mini</option>
+ <option value="gpt-4o">gpt-4o</option>
+ <option value="gpt-5-mini">gpt-5-mini</option>
+ <option value="gpt-5">gpt-5</option>
+ </select>
+ <p className="text-xs text-gray-500 mt-1">Choose model for detailed analysis tasks</p>
</div>
</div>
</div>
diff --git a/Vimo-desktop/src/renderer/src/pages/settings/index.tsx b/Vimo-desktop/src/renderer/src/pages/settings/index.tsx
index fb1345d..7a7d6ed 100644
--- a/Vimo-desktop/src/renderer/src/pages/settings/index.tsx
+++ b/Vimo-desktop/src/renderer/src/pages/settings/index.tsx
@@ -346,11 +346,11 @@ const ModelStatusSection = ({ storeDirectory }: { storeDirectory: string }) => {
</label>
<input
type="text"
- value="gpt-4o-mini"
+ value={settings.processingModel}
readOnly
className="w-full px-3 py-2 text-sm border rounded-md bg-gray-100 text-gray-600"
/>
- <p className="text-xs text-gray-500 mt-1">Fixed model for high-volume preprocessing tasks</p>
+ <p className="text-xs text-gray-500 mt-1">Current model for high-volume preprocessing tasks</p>
</div>
<div>
@@ -359,11 +359,11 @@ const ModelStatusSection = ({ storeDirectory }: { storeDirectory: string }) => {
</label>
<input
type="text"
- value="gpt-4o-mini"
+ value={settings.analysisModel}
readOnly
className="w-full px-3 py-2 text-sm border rounded-md bg-gray-100 text-gray-600"
/>
- <p className="text-xs text-gray-500 mt-1">Fixed model for detailed analysis tasks</p>
+ <p className="text-xs text-gray-500 mt-1">Current model for detailed analysis tasks</p>
</div>
</div>
</div>