v2.18.0

payloadcms/payloadv2.18.0Jul 25, 2026by dsfaccini

AI Summary

This release introduces new AI tool support, specifically AdvisorTool for Anthropic and OpenRouter, and expands Google Cloud provider capabilities with multi-region support.

Key Highlights

  • AdvisorTool support for Anthropic and OpenRouter
  • Google Cloud multi-region support ('us'/'eu')
  • New BedrockMantleProvider
  • Fix for deferred Google Genai stream errors

New Features

  • AdvisorTool support for Anthropic and OpenRouter
  • 'us'/'eu' multi-region locations for GoogleCloudProvider
  • external_web_access option for WebSearchTool
  • BedrockMantleProvider and response-scoped tool-call ID normalization

Full Release Notes

<!-- Release notes generated using configuration in .github/release.yml at v2.18.0 -->

## What's Changed
### 🚀 Features
* Add `AdvisorTool` support for Anthropic and OpenRouter by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6605
* Add 'us'/'eu' multi-region locations to GoogleCloudProvider location type by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6715
* Add `external_web_access` option to `WebSearchTool` for OpenAI Responses by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6710
* Add `BedrockMantleProvider` and normalize response-scoped tool-call IDs by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6538
### 🐛 Bug Fixes
* Map deferred `google-genai` stream errors in `GoogleModel` by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/6693


**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.17.0...v2.18.0