mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-08-16 11:18:07 +08:00
WIP, custom API Modes
This commit is contained in:
@@ -83,7 +83,7 @@ async function executeApi(session, port, config) {
|
||||
port,
|
||||
session.question,
|
||||
session,
|
||||
config.customModelApiUrl,
|
||||
config.customModelApiUrl.trim() || 'http://localhost:8000/v1/chat/completions',
|
||||
config.customApiKey,
|
||||
config.customModelName,
|
||||
)
|
||||
@@ -92,7 +92,7 @@ async function executeApi(session, port, config) {
|
||||
port,
|
||||
session.question,
|
||||
session,
|
||||
session.apiMode.customUrl,
|
||||
session.apiMode.customUrl.trim() || 'http://localhost:8000/v1/chat/completions',
|
||||
session.apiMode.apiKey,
|
||||
session.apiMode.customName,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user