Skip to content

Add user agent for EL client#12

Merged
cyc60 merged 2 commits intomainfrom
user-agent
Nov 5, 2025
Merged

Add user agent for EL client#12
cyc60 merged 2 commits intomainfrom
user-agent

Conversation

@cyc60
Copy link
Contributor

@cyc60 cyc60 commented Nov 5, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 5, 2025 10:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds user agent identification for the execution layer (EL) client by including version information from the project metadata. The changes enable the relayer to identify itself with a versioned user agent string when making requests to the execution client.

Key changes:

  • Version extraction from pyproject.toml via the src package
  • User agent string construction and application to the execution client
  • Project version bump from 0.2.0 to 0.2.1

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/init.py Implements version extraction from pyproject.toml using tomli
src/common/clients.py Constructs and applies user agent string to execution client
pyproject.toml Updates project version to 0.2.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cyc60 cyc60 merged commit f889dd3 into main Nov 5, 2025
6 checks passed
@cyc60 cyc60 deleted the user-agent branch November 5, 2025 11:01
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