Skip to content

Commit 47f1c08

Browse files
committed
🐛 fix(websearch_bing): adjust pagination parameters
- change offset parameter to 'first' for correct page indexing - ensure proper pagination logic with offset + 1 calculation
1 parent ac632d3 commit 47f1c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toolregistry/hub/websearch/websearch_bing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _meta_search_bing(
137137
params={
138138
"q": query,
139139
"count": min(10, num_results - fetched_results),
140-
"offset": offset,
140+
"first": offset + 1,
141141
"FORM": "PERE",
142142
},
143143
cookies={

0 commit comments

Comments
 (0)