test: update xai test to match corrected maxTokens for grok-4-fast

The test was expecting 30,000 maxTokens but we corrected this to 8,192 to match grok-4, as xAI doesn't publish a maximum output token limit for grok-4-fast.
This commit is contained in:
daniel-lxs 2025-10-27 17:31:47 -05:00
parent d277ecde7c
commit 7bea3b13c6
No known key found for this signature in database
GPG key ID: 21C74479048B3AA6

View file

@ -77,7 +77,7 @@ describe("XAIHandler", () => {
expect(model.id).toBe(testModelId)
expect(model.info).toEqual(xaiModels[testModelId])
expect(model.info.contextWindow).toBe(2_000_000)
expect(model.info.maxTokens).toBe(30_000)
expect(model.info.maxTokens).toBe(8192)
})
it("should include reasoning_effort parameter for mini models", async () => {