Skip to content

Commit 698c7f9

Browse files
authored
chore(core): adjust edge size for doubao-thinking model (#977)
1 parent 04663be commit 698c7f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export function mergeRects(rects: Rect[]) {
282282

283283
// expand the search area to at least 300 x 300, or add a default padding
284284
export function expandSearchArea(rect: Rect, screenSize: Size) {
285-
const minEdgeSize = 300;
285+
const minEdgeSize = vlLocateMode() === 'doubao-vision' ? 500 : 300;
286286
const defaultPadding = 160;
287287

288288
const paddingSizeHorizontal =

0 commit comments

Comments
 (0)