Merge pull request #417 from punkpeye/feature-metadata-2

feat: identify consumer using tags
This commit is contained in:
Matt Rubens 2025-01-18 23:43:17 -05:00 committed by GitHub
commit 012ca095a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,6 +101,14 @@ export class GlamaHandler implements ApiHandler, SingleCompletionHandler {
{
headers: {
Authorization: `Bearer ${this.options.glamaApiKey}`,
"X-Glama-Metadata": JSON.stringify({
labels: [
{
key: "app",
value: "vscode.rooveterinaryinc.roo-cline",
},
],
}),
},
},
)