feat: use xai image model and update deploy link (#882)

This commit is contained in:
Jeremy 2025-03-21 21:18:56 -07:00 committed by GitHub
parent 7811c0f7fb
commit 235b0edb91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 71 additions and 127 deletions

View file

@ -5,7 +5,6 @@ import {
} from 'ai';
import { groq } from '@ai-sdk/groq';
import { xai } from '@ai-sdk/xai';
import { fal } from '@ai-sdk/fal';
import { isTestEnvironment } from '../constants';
import {
artifactModel,
@ -34,6 +33,6 @@ export const myProvider = isTestEnvironment
'artifact-model': xai('grok-2-1212'),
},
imageModels: {
'small-model': fal.image('fal-ai/fast-sdxl'),
'small-model': xai.image('grok-2-image'),
},
});