@@ -2,48 +2,49 @@ import {
22 customProvider ,
33 extractReasoningMiddleware ,
44 wrapLanguageModel ,
5- } from 'ai' ;
6- import { google } from ' @ai-sdk/google' ;
7- import { fireworks } from ' @ai-sdk/fireworks' ;
8- import { isTestEnvironment } from ' ../constants' ;
5+ } from "ai" ;
6+ import { google } from " @ai-sdk/google" ;
7+ import { fireworks } from " @ai-sdk/fireworks" ;
8+ import { isTestEnvironment } from " ../constants" ;
99import {
1010 artifactModel ,
1111 chatModel ,
1212 reasoningModel ,
1313 titleModel ,
14- } from ' ./models.test' ;
14+ } from " ./models.test" ;
1515
1616export const myProvider = isTestEnvironment
1717 ? customProvider ( {
1818 languageModels : {
19- ' chat-model' : chatModel ,
20- ' chat-model-reasoning' : reasoningModel ,
21- ' title-model' : titleModel ,
22- ' artifact-model' : artifactModel ,
19+ " chat-model" : chatModel ,
20+ " chat-model-reasoning" : reasoningModel ,
21+ " title-model" : titleModel ,
22+ " artifact-model" : artifactModel ,
2323 } ,
2424 } )
2525 : customProvider ( {
2626 languageModels : {
27- 'gemini-2.0-pro-exp-02-05' : google ( 'gemini-2.0-pro-exp-02-05' ) ,
28- 'gemini-2.0-flash-thinking-exp' : google (
29- 'gemini-2.0-flash-thinking-exp'
27+ "gemini-2.5-pro-exp-03-25" : google ( "gemini-2.5-pro-exp-03-25" ) ,
28+ "gemini-2.0-pro-exp-02-05" : google ( "gemini-2.0-pro-exp-02-05" ) ,
29+ "gemini-2.0-flash-thinking-exp" : google (
30+ "gemini-2.0-flash-thinking-exp" ,
3031 ) ,
31- ' gemini-2.0-flash' : google ( ' gemini-2.0-flash' ) ,
32- ' gemini-exp-1206' : google ( ' gemini-exp-1206' ) ,
33- ' deepseek-chat' : fireworks ( ' accounts/fireworks/models/deepseek-v3' ) ,
34- ' chat-model-reasoning' : wrapLanguageModel ( {
35- model : fireworks ( ' accounts/fireworks/models/deepseek-r1' ) ,
36- middleware : extractReasoningMiddleware ( { tagName : ' think' } ) ,
32+ " gemini-2.0-flash" : google ( " gemini-2.0-flash" ) ,
33+ " gemini-exp-1206" : google ( " gemini-exp-1206" ) ,
34+ " deepseek-chat" : fireworks ( " accounts/fireworks/models/deepseek-v3" ) ,
35+ " chat-model-reasoning" : wrapLanguageModel ( {
36+ model : fireworks ( " accounts/fireworks/models/deepseek-r1" ) ,
37+ middleware : extractReasoningMiddleware ( { tagName : " think" } ) ,
3738 } ) ,
38- ' title-model' : google ( ' gemini-2.0-flash' ) ,
39- ' artifact-model' : google ( ' gemini-2.0-flash' ) ,
39+ " title-model" : google ( " gemini-2.0-flash" ) ,
40+ " artifact-model" : google ( " gemini-2.0-flash" ) ,
4041 } ,
4142 imageModels : {
42- ' small-model' : fireworks . image (
43- ' accounts/fireworks/models/stable-diffusion-3p5-medium'
43+ " small-model" : fireworks . image (
44+ " accounts/fireworks/models/stable-diffusion-3p5-medium" ,
4445 ) ,
45- ' large-model' : fireworks . image (
46- ' accounts/fireworks/models/stable-diffusion-3p5-large-turbo'
46+ " large-model" : fireworks . image (
47+ " accounts/fireworks/models/stable-diffusion-3p5-large-turbo" ,
4748 ) ,
4849 } ,
4950 } ) ;
0 commit comments