Skip to content

TEC-200: user_agent parameter for attribution#13

Merged
vvillait88 merged 2 commits intomainfrom
tec-200-user-agent-config
Apr 21, 2026
Merged

TEC-200: user_agent parameter for attribution#13
vvillait88 merged 2 commits intomainfrom
tec-200-user-agent-config

Conversation

@vvillait88
Copy link
Copy Markdown
Contributor

Summary

  • Adds optional user_agent to AgentScore constructor, rendered as "{user_agent} (agentscore-py/{version})"
  • Default UA (agentscore-py/{version}) already matches the PyPI install identifier, so no rename needed
  • Bumps version to 1.7.0

Part of Linear TEC-200. Sitting on this (no tag, no publish) until TEC-201/202/199/203 are ready so all 5 packages ship together.

Test plan

  • uv run ruff check .
  • uv run ruff format --check .
  • uv run pytest tests/ — 96 pass (new test: custom user_agent format)

🤖 Generated with Claude Code

vvillait88 and others added 2 commits April 20, 2026 19:07
Optional user_agent on AgentScore is prepended to the default
User-Agent as "{user_agent} (agentscore-py/{version})" so API calls
from consumer apps can be attributed downstream.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The default User-Agent "agentscore-py/{version}" already matches the
PyPI install identifier, so only the version bumps — no UA rename
needed in this package.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vvillait88 vvillait88 merged commit ce23d28 into main Apr 21, 2026
6 checks passed
@vvillait88 vvillait88 deleted the tec-200-user-agent-config branch April 21, 2026 02:47
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.

1 participant