This commit is contained in:
Your Name
2026-11-26 15:46:20 +08:00
parent db6d327e91
commit be79e09c83
170 changed files with 21159 additions and 13217 deletions
@@ -21,7 +21,7 @@ final class TongueScreenshotLogic extends BaseLogic
throw new \DomainException('截图分析请求包含不支持的字段');
}
$model = array_key_exists('model', $params) ? $params['model'] : 'qwen';
if (!is_string($model) || !in_array($model, ['qwen', 'openai'], true)) {
if (!is_string($model) || !in_array($model, ['qwen', 'openai', 'doubao'], true)) {
throw new \DomainException('截图分析模型无效');
}
$rawId = $params['id'] ?? null;