Refactor genai package to new modular interface

Reorganized the genai package by removing legacy LLM-related files and introducing a new modular interface under the 'interface' directory. Added provider-specific model classes, centralized constants, and updated the example to use the new API and data structures. Updated exports in genai.dart and improved dependency management.
This commit is contained in:
Ankit Mahato
2025-08-27 02:08:36 +05:30
parent 36f58ba26a
commit 72fea1ba65
54 changed files with 2470 additions and 1736 deletions

View File

@@ -0,0 +1,7 @@
export 'ai_request_model.dart';
export 'available_models.dart';
export 'model_config_value.dart';
export 'model_config.dart';
export 'model_provider.dart';
export 'model_request_data.dart';
export 'models_data.g.dart';