diff --git a/lib/utils/index.ts b/lib/utils/index.ts index 8b1a5e6b..7416f341 100644 --- a/lib/utils/index.ts +++ b/lib/utils/index.ts @@ -30,7 +30,7 @@ export function getModel() { }) // Optionally, add a check for credit status or skip xAI if credits are exhausted try { - return xai('grok-3-fast-beta') + return xai('grok-4-fast-non-reasoning') } catch (error) { console.warn('xAI API unavailable, falling back to OpenAI:') }