perf: ChatGPT 支持自定义 Base URL

This commit is contained in:
kuaifan
2025-02-04 00:58:22 +09:00
parent 5c564524a3
commit 80313f613e
3 changed files with 9 additions and 1 deletions

View File

@@ -427,6 +427,7 @@ class BotReceiveMsgTask extends AbstractTask
'model_name' => $setting[$type . '_model'],
'system_message' => $setting[$type . '_system'],
'api_key' => $setting[$type . '_key'],
'base_url' => $setting[$type . '_base_url'],
'agency' => $setting[$type . '_agency'],
'server_url' => $serverUrl,
];