Skip to content

Commit

Permalink
fix #568
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 10, 2024
1 parent 02a2b55 commit 120d15f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/classes/providers/large_language_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class LargeLanguageModel extends ChangeNotifier {
}

set uri(String value) {
_name = '';
_uri = value;
notifyListeners();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ class LlamaCppModel extends LargeLanguageModel {

Logger.log("Loading model from $file");

name = file.path.split('/').last;
uri = file.path;
name = file.path.split('/').last;
notifyListeners();
} catch (e) {
return e.toString();
Expand Down

0 comments on commit 120d15f

Please sign in to comment.