Update gpt/index.html

This commit is contained in:
2026-05-11 09:26:45 +02:00
parent efa7906ea3
commit 1d7bda2ecc
+6
View File
@@ -506,6 +506,12 @@ async function testConnection() {
============================================ */
document.getElementById('presetSelect').addEventListener('change', function () {
const presets = {
catgpt: {
endpoint: 'http://192.168.254.169:4891/v1/chat/completions',
model: 'cat-gpt',
type: 'openai'
},
local: {
endpoint: 'http://localhost:4891/v1/chat/completions',
model: 'local-model',