mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-06-14 22:55:12 +10:00
feat: add message translation support
- Introduced translation functionality in chat screen, allowing users to translate messages before sending. - Added MessageTranslationButton to the input bar for enabling/disabling translation. - Implemented translation service to handle incoming and outgoing text translations using llama models. - Enhanced message storage to include original and translated text, language codes, and translation status. - Created UI components for displaying translated messages and managing translation options. - Added translation model management, including downloading and storing models locally. - Updated app settings to manage translation preferences and model selections.
This commit is contained in:
@@ -71,6 +71,17 @@ dependencies:
|
||||
flutter_blue_plus_platform_interface: ^8.2.1
|
||||
ml_algo: ^16.0.0
|
||||
ml_dataframe: ^1.0.0
|
||||
llamadart: '>=0.6.8 <0.7.0'
|
||||
|
||||
hooks:
|
||||
user_defines:
|
||||
llamadart:
|
||||
llamadart_native_backends:
|
||||
platforms:
|
||||
android-arm64:
|
||||
backends: [cpu]
|
||||
android-x64:
|
||||
backends: [cpu]
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user