File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
scribe/lib/scribe/ai/data Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,4 @@ class AIConfig {
44 const AIConfig ._();
55
66 static bool get isAiEnabled => dotenv.get ('AI_ENABLED' , fallback: 'false' ) == 'true' ;
7-
8- static String get aiApiKey => dotenv.get ('AI_API_KEY' , fallback: '' );
9-
10- static String get aiApiUrl => dotenv.get ('AI_API_URL' , fallback: '' );
117}
Original file line number Diff line number Diff line change 11import 'package:scribe/scribe/ai/data/model/ai_message.dart' ;
22
33class AIAPIRequest {
4- static const String _defaultModel = 'gpt-oss-120b' ;
5-
64 final List <AIMessage > messages;
75
86 const AIAPIRequest ({
@@ -11,7 +9,6 @@ class AIAPIRequest {
119
1210 Map <String , dynamic > toJson () {
1311 return {
14- 'model' : _defaultModel,
1512 'messages' : messages.map ((m) => m.toJson ()).toList (),
1613 };
1714 }
You can’t perform that action at this time.
0 commit comments