Web search find action type mismatch
Closed
Nobody has claimed this yet.
bug
spec
- Dominant language
- Kotlin
- Stars
- 1.5k
- Forks
- 264
- Avg merge
- 9h 46m
- Merged PRs (30d)
- 96
Description
In documentation and sdk it's find, but actually it's find_in_page.
curl -s "https://api.openai.com/v1/responses/resp_686f89f9d13881a082a26db88d31c4ad060a7e338fd86a3a" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" | grep -C5 find
{
"id": "ws_686f8a0fc82081a09cca742d0b794a3b060a7e338fd86a3a",
"type": "web_search_call",
"status": "completed",
"action": {
"type": "find_in_page",
"pattern": "history",
"url": "https://en.wikipedia.org/wiki/Principle_of_double_effect"
}
},
{
--
{
"id": "ws_686f8a173dd081a09dab5c14d0e39b09060a7e338fd86a3a",
"type": "web_search_call",
"status": "completed",
"action": {
"type": "find_in_page",
"pattern": "File:",
"url": "https://en.wikipedia.org/wiki/Principle_of_double_effect"
}
},
{
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseFunctionWebSearch.kt around line 1012 and compare it with the linked Responses API documentation. Confirm that the SDK and documentation use the observed find_in_page action type rather than find.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100