Skip to content

Commit 012ca09

Browse files
authored
Merge pull request #417 from punkpeye/feature-metadata-2
feat: identify consumer using tags
2 parents 431ff57 + a66fb7b commit 012ca09

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/api/providers/glama.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ export class GlamaHandler implements ApiHandler, SingleCompletionHandler {
101101
{
102102
headers: {
103103
Authorization: `Bearer ${this.options.glamaApiKey}`,
104+
"X-Glama-Metadata": JSON.stringify({
105+
labels: [
106+
{
107+
key: "app",
108+
value: "vscode.rooveterinaryinc.roo-cline",
109+
},
110+
],
111+
}),
104112
},
105113
},
106114
)

0 commit comments

Comments
 (0)