Skip to content

Commit dc87dd5

Browse files
authored
chore(core): remove useless corp (#972)
1 parent 90d5c09 commit dc87dd5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/core/src/ai-model/inspect.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,6 @@ export async function AiLocateElement<
117117
);
118118
}
119119

120-
let referenceImagePayload: string | undefined;
121-
if (options.referenceImage?.rect && options.referenceImage.base64) {
122-
referenceImagePayload = await cropByRect(
123-
options.referenceImage.base64,
124-
options.referenceImage.rect,
125-
getAIConfigInBoolean(MIDSCENE_USE_QWEN_VL),
126-
);
127-
}
128-
129120
const msgs: AIArgs = [
130121
{ role: 'system', content: systemPrompt },
131122
{

0 commit comments

Comments
 (0)