Skip to content

feat: add snapshot_as_of to Search and Context, remove code_mode from Responses - #154

Merged
gleb-reshetnev merged 1 commit into
mainfrom
automation/sync-generated-api-sdks-1795056199
Nov 23, 2026
Merged

gleb-reshetnev merged 1 commit into
mainfrom
automation/sync-generated-api-sdks-1795056199

Conversation

@pplx-oss

@pplx-oss pplx-oss commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor
`, RFC 3339 timestamp) is added to the Search and Context request models and to their `create` methods. Example: `snapshot_as_of: Optional[str]:client.search.create(..., snapshot_as_of=...)`.
  • code_mode is removed from the Responses request models and create methods. This is breaking for callers that still pass it, but the API already rejects it with 400 invalid_request (ppl-ai/agi#290044). Use {"type": "programmatic_tool_calling"} in tools and allowed_callers on each tool instead.

Why

ppl-ai/agi#295200 shipped snapshot_as_of on the API, and ppl-ai/api-docs#1170 documents it.
The docs examples fail type checks on the current SDK releases (Python 0.48.1, Node 0.43.1) because the field is missing.

The title uses feat so that Release Please makes a minor release with a Features changelog entry.
A chore title gives only a patch release with no changelog entry.

Merge only after ppl-ai/agi#295200 is deployed to production search-api-gateway.

Created with Perplexity

@pplx-oss
pplx-oss force-pushed the automation/sync-generated-api-sdks-1795056199 branch 30 times, most recently from 95643f0 to 93acba3 Compare November 21, 2026 20:21
@pplx-oss
pplx-oss force-pushed the automation/sync-generated-api-sdks-1795056199 branch 11 times, most recently from 39b8c41 to 0e1b4e1 Compare November 22, 2026 22:00
@pplx-oss
pplx-oss force-pushed the automation/sync-generated-api-sdks-1795056199 branch from 0e1b4e1 to 9b0d1b0 Compare November 23, 2026 01:18
@gleb-reshetnev gleb-reshetnev changed the title chore: sync generated API SDKs feat: add snapshot_as_of to Search and Context, remove code_mode from Responses Nov 23, 2026
@gleb-reshetnev
gleb-reshetnev merged commit 74e95aa into main Nov 23, 2026
9 of 10 checks passed
@gleb-reshetnev
gleb-reshetnev deleted the automation/sync-generated-api-sdks-1795056199 branch November 23, 2026 10:09
@pplx-oss pplx-oss mentioned this pull request Nov 23, 2026
gleb-reshetnev pushed a commit that referenced this pull request Nov 23, 2026
Automated Release PR
---


##
[0.49.0](v0.48.1...v0.49.0)
(2026-11-23)


### Features

* add snapshot_as_of to Search and Context, remove code_mode from
Responses
([#154](#154))
([74e95aa](74e95aa))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

2 participants