Skip to content

Commit 9dea255

Browse files
feat: add compile time assertion
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
1 parent 52fc407 commit 9dea255

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/providers/__tests__/chutes.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,8 @@ describe("ChutesHandler", () => {
495495

496496
it("should include zai-org/GLM-4.6-turbo in chutesModels", () => {
497497
// This test ensures the GLM-4.6-turbo model exists to prevent regressions
498+
// Compile-time assertion that GLM-4.6-turbo is part of ChutesModelId
499+
const _: ChutesModelId = "zai-org/GLM-4.6-turbo"
498500
expect(chutesModels).toHaveProperty("zai-org/GLM-4.6-turbo")
499501
})
500502

0 commit comments

Comments
 (0)