Skip to content

WF-1097: Add chat_ids filter to ListArchives - #272

Merged
wfabjanczuk merged 1 commit into
v3.6from
codex/add-chat-ids-archive-filter
Sep 25, 2026
Merged

wfabjanczuk merged 1 commit into
v3.6from
codex/add-chat-ids-archive-filter

Conversation

@michal-treter-text

Copy link
Copy Markdown
Contributor

Summary

  • Add a ByChats filter for ListArchives, serialized as filters.chat_ids per the Agent Chat API v3.6 documentation.
  • Verify JSON serialization and that ByThreads clears chat IDs because thread_ids cannot be combined with other filters.

Tests

  • go test ./...

@michal-treter-text
michal-treter-text force-pushed the codex/add-chat-ids-archive-filter branch from afc8991 to 7da5a40 Compare September 25, 2026 06:49
@michal-treter-text
michal-treter-text marked this pull request as ready for review September 25, 2026 06:58
@michal-treter-text
michal-treter-text requested a review from a team as a code owner September 25, 2026 06:58
Copilot AI balanced review requested due to automatic review settings September 25, 2026 06:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The implementation matches the described API contract and includes focused coverage for both required behaviors.

Review effort: Balanced
Findings: None

What changed in this PR

Adds chat ID filtering to ListArchives.

Changes:

  • Adds ByChats with chat_ids JSON serialization.
  • Tests serialization and clearing by ByThreads.
File Description
agent/​filters.go Adds the chat ID filter field and builder method.
agent/​filters_test.go Verifies serialization and filter-clearing behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@wfabjanczuk
wfabjanczuk merged commit 2670765 into v3.6 Sep 25, 2026
5 checks passed
@wfabjanczuk
wfabjanczuk deleted the codex/add-chat-ids-archive-filter branch September 25, 2026 10:18
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.

3 participants