> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Enrich context with up-to-date dependencies

> See how Qodo uses web search to find the latest official documentation, specifications, and release notes to produce more accurate and up-to-date findings.

During a pull request review, Qodo can search the web for up-to-date documentation, specifications, and release notes for third-party dependencies referenced in your code. Qodo uses a third-party search service to retrieve relevant sources, helping the review agent produce more accurate findings based on current information.

## How web search is used

When Qodo reviews a pull request, it identifies third-party dependencies referenced in the changes and searches the web for relevant documentation, specifications, and release notes.

The review agent uses this information to:

* Detect usage that conflicts with the latest API or specification for a dependency.
* Flag deprecated methods, removed features, or breaking changes introduced in newer versions.
* Ground third-party evidence in official docs, issues, and other helpful sources available instead of the model's internal knowledge, in order to prevent hallucinations.

## Configure web search

### Configure web search in the Qodo portal (Recommended)

Web search is enabled by default for new users. If you're an existing user:

1. Log in to the Qodo portal.
2. Navigate to **Configurations** > **Context**.
3. Enable **Web search**.

### Configure web search in .pr\_agent.toml

```toml theme={null}
[review_agent]
enable_web_search_tool = true
```

Default: `false`. New workspaces get this enabled automatically by the portal; existing workspaces and hand-written `.pr_agent.toml` files fall back to this default.

## View web search references in findings

When web search contributes to a finding, the **Context sources** panel in the review comment lists the external sources the agent referenced. This shows you which documentation, release notes, or other sources informed the finding.

<Frame>
  <img src="https://mintcdn.com/qodo/lJCDHyEzCMkqWSp4/images/code-review/findings-web-search-results.png?fit=max&auto=format&n=lJCDHyEzCMkqWSp4&q=85&s=84d2f5f58a2db3eb5043500b5dcf8f59" alt="Web search results shown in a pull request finding" width="1397" height="1126" data-path="images/code-review/findings-web-search-results.png" />
</Frame>

For more information, see [Comment anatomy](/code-review/comment-anatomy#code-review-findings-overview).

## Related resources

* [Anatomy of a Qodo Code Review](/code-review/comment-anatomy#code-review-findings-overview): The findings overview, including the Context sources panel.
* [Customize the code review experience](/configuration): What you can configure, and where to configure it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.