Skip to content

Commit 25058ba

Browse files
committed
fix: set magic edition to cmmercial
1 parent 7cfb00b commit 25058ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/super-magic-module/src/Application/SuperAgent/Service/TaskAppService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function initAgentTask(
9898
// 检查用户任务数量限制和白名单
9999
if ($instruction != ChatInstruction::Interrupted && $instruction != ChatInstruction::FollowUp) {
100100
// 检查环境变量,如果是开源版本则跳过白名单和任务数量限制检查
101-
$magicEdition = env('MAGIC_EDITION', 'open-source');
101+
$magicEdition = env('MAGIC_EDITION', 'commercial');
102102
if ($magicEdition === 'open-source') {
103103
$this->logger->info('开源版本,跳过白名单和任务数量限制检查');
104104
} else {

0 commit comments

Comments
 (0)