@@ -12,9 +12,9 @@ namespace MapperAI.Core.DI;
1212
1313public static class DependencyInjection
1414{
15- public static IServiceCollection AddMapperAI ( this IServiceCollection services , string apiKey , string model , ModelType modelType )
15+ public static IServiceCollection AddMapperAI ( this IServiceCollection services , string apiKey , ModelType modelType )
1616 {
17- services . AddMapperClientConfiguration ( apiKey , model , modelType ) ;
17+ services . AddMapperClientConfiguration ( apiKey , modelType ) ;
1818 services . AddHttpClient ( ) ;
1919 services . AddSingleton < IMapperSerializer , MapperSerializer > ( ) ;
2020 services . AddSingleton < IMapperClientFactory , MapperClientFactory > ( ) ;
@@ -27,9 +27,9 @@ public static IServiceCollection AddMapperAI(this IServiceCollection services, s
2727 return services ;
2828 }
2929
30- private static void AddMapperClientConfiguration ( this IServiceCollection services , string apiKey , string model , ModelType modelType )
30+ private static void AddMapperClientConfiguration ( this IServiceCollection services , string apiKey , ModelType modelType )
3131 {
32- MapperClientConfiguration configuration = new ( apiKey , model , modelType ) ;
32+ MapperClientConfiguration configuration = new ( apiKey , modelType ) ;
3333 services . AddSingleton < MapperClientConfiguration > ( s => configuration ) ;
3434
3535 }
0 commit comments