feat: update all OpenAI/ChatGPT refs + settings dropdown for fixed-value fields

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-23 20:06:57 +00:00
parent dcdef44303
commit 044da0ff47
17 changed files with 383 additions and 113 deletions
+4 -4
View File
@@ -174,11 +174,11 @@
Configure Now
</a>
{% endif %}
{% elif name == "OpenAI" %}
{% elif name == "AI Provider" %}
{% if provider.configured %}
<button
class="test-provider-btn inline-flex items-center px-2.5 py-1.5 border border-gray-300 text-xs font-medium rounded text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
data-provider="openai">
data-provider="ai_provider">
Test Connection
</button>
{% endif %}
@@ -521,8 +521,8 @@ document.addEventListener('DOMContentLoaded', function() {
endpoint = '/api/onedrive/test-token';
} else if (provider === 'google_drive') {
endpoint = '/api/google-drive/test-token';
} else if (provider === 'openai') {
endpoint = '/api/openai/test';
} else if (provider === 'ai_provider') {
endpoint = '/api/ai/test';
} else if (provider === 'azure') {
endpoint = '/api/azure/test';
}