File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77import 'package:flutter_test/flutter_test.dart' ;
88import '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
1113void 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}
Original file line number Diff line number Diff line change 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;
You can’t perform that action at this time.
0 commit comments