Skip to content

Commit c32d18d

Browse files
Petrus PennanenPetrus Pennanen
authored andcommitted
fix(enrichment): use Authorization Bearer auth for GroupMind intent API instead of X-API-Key to stop silent failures && docs(README): confirm UIK goes live
1 parent 43b4f4e commit c32d18d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,11 @@ To enable sidecar enrichment (Memory and Intent), add the following blocks to yo
212212
"token": "your_claude_mem_token"
213213
}
214214
}
215-
```\n\n## Integrations
215+
```
216+
217+
*Note: The Intent API integration is now fully LIVE and actively polls for user-intent-kit data upon every incoming message. Ensure your `"apiKey"` uses an `antfarm_...` prefix. The sidecar securely passes `Authorization: Bearer` and injects `urgency_mode` vectors directly into your queued room events.*
218+
219+
## Integrations
216220

217221
### GitHub Webhooks (`src/webhook-server.mjs`)
218222

src/team-relay/enrichment.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export async function enrichEvent(event, config = {}) {
6262
try {
6363
const url = `${intentCfg.baseUrl}/intent/${intentCfg.userId}`;
6464
const resp = await fetch(url, {
65-
headers: { 'X-API-Key': intentCfg.apiKey }
65+
headers: { 'Authorization': `Bearer ${intentCfg.apiKey}` }
6666
});
6767

6868
if (!resp.ok) {

0 commit comments

Comments
 (0)