Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/genui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ provider.
super.initState();

// Create a SurfaceController with a widget catalog.
_controller = SurfaceController(catalogs: [CoreCatalogItems.asCatalog()]);
_controller = SurfaceController(catalogs: [BasicCatalogItems.asCatalog()]);

// Create transport adapter
_transport = A2uiTransportAdapter(onSend: _onSendToLLM);
Expand Down Expand Up @@ -269,7 +269,7 @@ To receive and display generated UI:

### 5. [Optional] Add your own widgets to the catalog

In addition to using the catalog of widgets in `CoreCatalogItems`, you can
In addition to using the catalog of widgets in `BasicCatalogItems`, you can
create custom widgets for the agent to generate. Use the following
instructions.

Expand Down Expand Up @@ -358,7 +358,7 @@ Include your catalog items when instantiating `SurfaceController`.

```dart
_controller = SurfaceController(
catalogs: [CoreCatalogItems.asCatalog().copyWith([riddleCard])],
catalogs: [BasicCatalogItems.asCatalog().copyWith([riddleCard])],
);
```

Expand Down
2 changes: 1 addition & 1 deletion packages/genui_a2a/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class _ChatScreenState extends State<ChatScreen> {
void initState() {
super.initState();
// Initialize the controller with the catalog
_controller = SurfaceController(catalogs: [CoreCatalogItems.asCatalog()]);
_controller = SurfaceController(catalogs: [BasicCatalogItems.asCatalog()]);

// Create the transport adapter
_transport = A2uiTransportAdapter(
Expand Down