fix: add kilocode_change markers and update nvidia-headers test for rebrand

- Adds 'new file' marker to check-forbidden-strings workflow
- Marks the SKIP_FILES addition in extract-source-links.ts
- Updates nvidia-headers test to assert the new kilo.ai/Kilo Code values
This commit is contained in:
Mark IJbema
2026-05-18 17:00:05 +02:00
parent 1f71d25a64
commit eaabc99625
3 changed files with 6 additions and 5 deletions
@@ -27,8 +27,8 @@ it.live("nvidia provider includes KiloCode billing origin header", () =>
const providers = yield* provider.list()
const headers = providers[ProviderID.make("nvidia")].options.headers
expect(headers["HTTP-Referer"]).toBe("https://opencode.ai/")
expect(headers["X-Title"]).toBe("opencode")
expect(headers["HTTP-Referer"]).toBe("https://kilo.ai/")
expect(headers["X-Title"]).toBe("Kilo Code")
expect(headers["X-BILLING-INVOKE-ORIGIN"]).toBe("KiloCode")
}),
),
@@ -63,8 +63,8 @@ it.live("nvidia billing origin header can be overridden from config", () =>
const providers = yield* provider.list()
const headers = providers[ProviderID.make("nvidia")].options.headers
expect(headers["HTTP-Referer"]).toBe("https://opencode.ai/")
expect(headers["X-Title"]).toBe("opencode")
expect(headers["HTTP-Referer"]).toBe("https://kilo.ai/")
expect(headers["X-Title"]).toBe("Kilo Code")
expect(headers["X-BILLING-INVOKE-ORIGIN"]).toBe("CustomOrigin")
}),
),