From 50f00c8f64d8338f1a485027f0cf27c5c5976839 Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Mon, 26 Jan 2026 11:24:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=80=9A=E4=B9=89?= =?UTF-8?q?=E5=8D=83=E9=97=AE=20API=20=E5=87=BD=E6=95=B0=E7=9A=84=E8=AF=AD?= =?UTF-8?q?=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复第 6783-6784 行错误的转义字符 - 将 \' 改为正确的单引号 ' - 解决致命错误问题 --- functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 7a23c7e..19ce2cb 100644 --- a/functions.php +++ b/functions.php @@ -6780,11 +6780,11 @@ function argon_call_anthropic_api($api_key, $prompt, $content) { * 调用通义千问 API */ function argon_call_qianwen_api($api_key, $prompt, $content) { - $provider = \'qianwen\'; + $provider = 'qianwen'; $config = argon_get_ai_provider_config($provider); - $endpoint = !empty($config[\'api_endpoint\']) ? $config[\'api_endpoint\'] : \'https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation\'; - $model = !empty($config[\'model\']) ? $config[\'model\'] : \'qwen-turbo\'; + $endpoint = !empty($config['api_endpoint']) ? $config['api_endpoint'] : 'https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation'; + $model = !empty($config['model']) ? $config['model'] : 'qwen-turbo'; $data = [ 'model' => $model,