Update gpt/index.html
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user