Skip to content

Commit 2f2ac2e

Browse files
committed
Remove value now unused
No more API key and url needed because everything is managed by the backend. Also backend does not accept a model parameter for the moment.
1 parent b06214b commit 2f2ac2e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

scribe/lib/scribe/ai/data/config/ai_config.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

scribe/lib/scribe/ai/data/model/ai_api_request.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import 'package:scribe/scribe/ai/data/model/ai_message.dart';
22

33
class 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
}

0 commit comments

Comments
 (0)