igengx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user