This commit is contained in:
kuaifan
2024-12-09 00:23:24 +08:00
parent 129d7e5850
commit 9b736c99f8
157 changed files with 1237 additions and 1179 deletions

View File

@@ -611,10 +611,11 @@ class BotReceiveMsgTask extends AbstractTask
$taskDesc = $taskInfo->content?->getContentInfo();
if ($taskDesc) {
$converter = new HtmlConverter(['strip_tags' => true]);
$descContent = Base::cutStr($converter->convert($taskDesc['content']), 2000);
$before_text[] = <<<EOF
任务描述:
```md
{$converter->convert($taskDesc['content'])}
{$descContent}
```
EOF;
}