Skip to content

Commit ed38af2

Browse files
committed
-
1 parent e194a8b commit ed38af2

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

examples/eval/test/smoke_test.dart

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66

77
import 'package:flutter_test/flutter_test.dart';
88
import 'package:genui/genui.dart';
9-
import 'package:simple_chat/chat_session.dart';
9+
import 'package:simple_chat/simple_chat.dart' as sc;
10+
11+
import 'test_infra/ai_client.dart';
1012

1113
void main() {
12-
test('Model respects configuration of prompt builder.', () async {
13-
// final Catalog catalog = simpleChatCatalog;
14-
// final promptBuilder = simpleChatPromptBuilder;
15-
});
14+
test(
15+
'Model respects configuration of prompt builder in simple chat example.',
16+
() async {
17+
final session = sc.ChatSession(aiClient: sc.DartanticAiClient());
18+
},
19+
);
1620
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright 2025 The Flutter Authors.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
// Export some classes for evaluation testing.
6+
export 'ai_client.dart' show AiClient, DartanticAiClient;
7+
export 'chat_session.dart' show ChatSession;

0 commit comments

Comments
 (0)