feat(openai): implement model discovery UI and functionality for fetching models

This commit is contained in:
Supra4E8C
2025-11-21 12:35:46 +08:00
parent c8dc446268
commit d088be8e65
4 changed files with 480 additions and 2 deletions

3
app.js
View File

@@ -614,6 +614,9 @@ class CLIProxyManager {
// 关闭模态框
closeModal() {
document.getElementById('modal').style.display = 'none';
if (typeof this.closeOpenAIModelDiscovery === 'function') {
this.closeOpenAIModelDiscovery();
}
}
}