Update gpt/index.html
This commit is contained in:
+7
-1
@@ -505,7 +505,13 @@ async function testConnection() {
|
|||||||
PRESETS (CLEAN)
|
PRESETS (CLEAN)
|
||||||
============================================ */
|
============================================ */
|
||||||
document.getElementById('presetSelect').addEventListener('change', function () {
|
document.getElementById('presetSelect').addEventListener('change', function () {
|
||||||
const presets = {
|
const presets = {
|
||||||
|
catgpt: {
|
||||||
|
endpoint: 'http://192.168.254.169:4891/v1/chat/completions',
|
||||||
|
model: 'cat-gpt',
|
||||||
|
type: 'openai'
|
||||||
|
},
|
||||||
|
|
||||||
local: {
|
local: {
|
||||||
endpoint: 'http://localhost:4891/v1/chat/completions',
|
endpoint: 'http://localhost:4891/v1/chat/completions',
|
||||||
model: 'local-model',
|
model: 'local-model',
|
||||||
|
|||||||
Reference in New Issue
Block a user