mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
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:
@@ -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")
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user