internal/config: Set User-Agent for Luno API calls#35
Conversation
This change updates luno-mcp to set a custom User-Agent string ("Luno MCP Server") when initializing the Luno API client.
This assumes that the luno-go library will be updated to accept a WithUserAgent option in its NewClient function.
A placeholder test has been added to verify this configuration, which will need to be updated once luno-go provides a way to inspect the User-Agent.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This change updates luno-mcp to set a custom User-Agent string ("Luno MCP Server") when initializing the Luno API client.
This assumes that the luno-go library will be updated to accept a WithUserAgent option in its NewClient function. A placeholder test has been added to verify this configuration, which will need to be updated once luno-go provides a way to inspect the User-Agent.