@@ -46,6 +46,7 @@ export const providerNames = [
4646 "sambanova" ,
4747 "zai" ,
4848 "fireworks" ,
49+ "featherless" ,
4950 "io-intelligence" ,
5051 "roo" ,
5152] as const
@@ -284,6 +285,10 @@ const fireworksSchema = apiModelIdProviderModelSchema.extend({
284285 fireworksApiKey : z . string ( ) . optional ( ) ,
285286} )
286287
288+ const featherlessSchema = apiModelIdProviderModelSchema . extend ( {
289+ featherlessApiKey : z . string ( ) . optional ( ) ,
290+ } )
291+
287292const ioIntelligenceSchema = apiModelIdProviderModelSchema . extend ( {
288293 ioIntelligenceModelId : z . string ( ) . optional ( ) ,
289294 ioIntelligenceApiKey : z . string ( ) . optional ( ) ,
@@ -328,6 +333,7 @@ export const providerSettingsSchemaDiscriminated = z.discriminatedUnion("apiProv
328333 sambaNovaSchema . merge ( z . object ( { apiProvider : z . literal ( "sambanova" ) } ) ) ,
329334 zaiSchema . merge ( z . object ( { apiProvider : z . literal ( "zai" ) } ) ) ,
330335 fireworksSchema . merge ( z . object ( { apiProvider : z . literal ( "fireworks" ) } ) ) ,
336+ featherlessSchema . merge ( z . object ( { apiProvider : z . literal ( "featherless" ) } ) ) ,
331337 ioIntelligenceSchema . merge ( z . object ( { apiProvider : z . literal ( "io-intelligence" ) } ) ) ,
332338 rooSchema . merge ( z . object ( { apiProvider : z . literal ( "roo" ) } ) ) ,
333339 defaultSchema ,
@@ -365,6 +371,7 @@ export const providerSettingsSchema = z.object({
365371 ...sambaNovaSchema . shape ,
366372 ...zaiSchema . shape ,
367373 ...fireworksSchema . shape ,
374+ ...featherlessSchema . shape ,
368375 ...ioIntelligenceSchema . shape ,
369376 ...rooSchema . shape ,
370377 ...codebaseIndexProviderSchema . shape ,
0 commit comments