Skip to content

Conversation

@CLEMENTINATOR
Copy link
Member

Summary

  • Add optional tags: Option<Vec<String>> field to InputObject struct
  • Add with_tags() builder method for ergonomic API
  • Include tags in request body for both send() and stream() methods
  • Tags are serialized with skip_serializing_if to avoid sending None values

Test plan

  • Verify tags are included in request body when provided
  • Verify tags are omitted when not provided
  • Test with_tags() builder method

🤖 Generated with Claude Code

@CLEMENTINATOR CLEMENTINATOR requested a review from a team as a code owner January 26, 2026 11:02
Add support for tagging requests with custom string labels for better
request categorization and tracking in the AI gateway.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@CLEMENTINATOR CLEMENTINATOR merged commit 7db2fea into main Jan 26, 2026
12 checks passed
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