diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 4635aa0..be15bef 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"/Users/redev.rx/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/redev.rx/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/redev.rx/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/redev.rx/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/redev.rx/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2024-05-27 22:13:31.855917","version":"3.22.1"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"/Users/kondoushun/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/kondoushun/.pub-cache/hosted/pub.dev/path_provider_android-2.2.8/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/kondoushun/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/kondoushun/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/kondoushun/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2024-07-28 15:57:01.524743","version":"3.22.2"} \ No newline at end of file diff --git a/lib/src/model/assistant/enum/assistant_model.dart b/lib/src/model/assistant/enum/assistant_model.dart index 0abe0e3..9ec5208 100644 --- a/lib/src/model/assistant/enum/assistant_model.dart +++ b/lib/src/model/assistant/enum/assistant_model.dart @@ -34,6 +34,14 @@ class Gpt4O2024Model extends AssistantModel { Gpt4O2024Model() : super(model: kGpt4O2024); } +class Gpt4oMiniModel extends AssistantModel { + Gpt4oMiniModel() : super(model: kGpt4oMini); +} + +class Gpt4oMini2024Model extends AssistantModel { + Gpt4oMini2024Model() : super(model: kGpt4oMini2024); +} + class AssistantModelFromValue extends AssistantModel { AssistantModelFromValue({required super.model}); } diff --git a/lib/src/model/chat_complete/enum/chat_model.dart b/lib/src/model/chat_complete/enum/chat_model.dart index 18a96c0..0905fd0 100644 --- a/lib/src/model/chat_complete/enum/chat_model.dart +++ b/lib/src/model/chat_complete/enum/chat_model.dart @@ -61,6 +61,14 @@ class Gpt4O2024ChatModel extends ChatModel { Gpt4O2024ChatModel() : super(model: kGpt4O2024); } +class Gpt4oMiniChatModel extends ChatModel { + Gpt4oMiniChatModel() : super(model: kGpt4oMini); +} + +class Gpt4oMini2024ChatModel extends ChatModel { + Gpt4oMini2024ChatModel() : super(model: kGpt4oMini2024); +} + class Gpt41106PreviewChatModel extends ChatModel { Gpt41106PreviewChatModel() : super(model: kGpt41106Preview); } diff --git a/lib/src/utils/constants.dart b/lib/src/utils/constants.dart index 9d0403c..f734bae 100644 --- a/lib/src/utils/constants.dart +++ b/lib/src/utils/constants.dart @@ -75,6 +75,8 @@ const kGpt41106Preview = 'gpt-4-1106-preview'; const kGpt4VisionPreview = 'gpt-4-vision-preview'; const kGpt4o = 'gpt-4o'; const kGpt4O2024 = 'gpt-4o-2024-05-13'; +const kGpt4oMini = 'gpt-4o-mini'; +const kGpt4oMini2024 = 'gpt-4o-mini-2024-07-18'; ///edits // using gpt 4