Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Feb 11, 2025
1 parent a1f143b commit bc18aee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Tasks/BotReceiveMsgTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ private function botWebhookBusiness(string $command, WebSocketDialogMsg $msg, Us
if ($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') {
$extras['api_key'] .= ':' . $setting['wenxin_secret'];
}
Expand Down

0 comments on commit bc18aee

Please sign in to comment.