Skip to content

Conversation

@justinyoo
Copy link
Contributor

This PR is intended to add code samples for the Web search page including:

  • Quickstart using web search
  • Web search by specifying user location

This PR doesn't include the sample codes for:

  • Web search by specifying sources

Copy link
Collaborator

@achandmsft achandmsft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, were you able to see if this actually gives you localized prompt response within this region @christothes ?

@christothes
Copy link
Collaborator

Looks good, were you able to see if this actually gives you localized prompt response within this region @christothes ?

I just tried this locally and the agent asked for my location as a follow up question 😮 - Looking into it now.

@christothes
Copy link
Collaborator

Looks good, were you able to see if this actually gives you localized prompt response within this region @christothes ?

I just tried this locally and the agent asked for my location as a follow up question 😮 - Looking into it now.

OK - I confirmed that it works. The model must be gpt-5 though, which is consistent with this sample.

@achandmsft achandmsft merged commit 1c36c76 into openai:main Oct 1, 2025
1 check passed
@justinyoo justinyoo deleted the docs/tools-web-search branch October 2, 2025 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants