Update project structure and enhance functionality with new features and dependencies
This commit is contained in:
@@ -111,7 +111,7 @@ class ToolBubbleBase extends StatelessWidget {
|
||||
child: Button.outline(
|
||||
leading: Icon(LucideIcons.check).iconSmall,
|
||||
onPressed: () => context.read<ChatProvider>().resolvePermission(PermissionDecision.allowOnce),
|
||||
child: Text("Allow").small,
|
||||
child: Text("Yes").small,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -121,7 +121,7 @@ class ToolBubbleBase extends StatelessWidget {
|
||||
child: Button.outline(
|
||||
leading: Icon(LucideIcons.checkCheck).iconSmall,
|
||||
onPressed: () => context.read<ChatProvider>().resolvePermission(PermissionDecision.allowAlways),
|
||||
child: Text("Allow always").small,
|
||||
child: Text("Yes, for this session").small,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -131,7 +131,7 @@ class ToolBubbleBase extends StatelessWidget {
|
||||
child: Button.destructive(
|
||||
leading: Icon(LucideIcons.x).iconSmall,
|
||||
onPressed: () => context.read<ChatProvider>().resolvePermission(PermissionDecision.reject),
|
||||
child: Text("Reject").small,
|
||||
child: Text("No").small,
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user