mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-16 22:22:49 +00:00
no message
This commit is contained in:
parent
a1f143b0aa
commit
bc18aeeadc
@ -437,6 +437,9 @@ class BotReceiveMsgTask extends AbstractTask
|
|||||||
if ($msg->msg['model_name']) {
|
if ($msg->msg['model_name']) {
|
||||||
$extras['model_name'] = $msg->msg['model_name'];
|
$extras['model_name'] = $msg->msg['model_name'];
|
||||||
}
|
}
|
||||||
|
if ($dialog->session_id) {
|
||||||
|
$extras['context_key'] = 'session_' . $dialog->session_id;
|
||||||
|
}
|
||||||
if ($type === 'wenxin') {
|
if ($type === 'wenxin') {
|
||||||
$extras['api_key'] .= ':' . $setting['wenxin_secret'];
|
$extras['api_key'] .= ':' . $setting['wenxin_secret'];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user