File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
packages/aipex-react/src/components Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,22 @@ const getStatusBadge = (status: ToolUIPart["state"] | "executing") => {
3939 "input-streaming" : "Pending" ,
4040 "input-available" : "Running" ,
4141 executing : "Running" ,
42+ "approval-requested" : "Approval Requested" ,
43+ "approval-responded" : "Approved" ,
4244 "output-available" : "Completed" ,
4345 "output-error" : "Error" ,
46+ "output-denied" : "Denied" ,
4447 } as const ;
4548
4649 const icons = {
4750 "input-streaming" : < CircleIcon className = "size-4" /> ,
4851 "input-available" : < ClockIcon className = "size-4 animate-pulse" /> ,
4952 executing : < ClockIcon className = "size-4 animate-spin" /> ,
53+ "approval-requested" : < ClockIcon className = "size-4 text-yellow-600" /> ,
54+ "approval-responded" : < CheckCircleIcon className = "size-4 text-blue-600" /> ,
5055 "output-available" : < CheckCircleIcon className = "size-4 text-green-600" /> ,
5156 "output-error" : < XCircleIcon className = "size-4 text-red-600" /> ,
57+ "output-denied" : < XCircleIcon className = "size-4 text-orange-600" /> ,
5258 } as const ;
5359
5460 return (
Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ export function SettingsPage({
633633
634634 // Use AI SDK to make the request (handles all URL construction automatically)
635635 await generateText ( {
636- model : provider ( aiModel ) ,
636+ model : provider ( aiModel ) as any ,
637637 prompt : "Hi" ,
638638 } ) ;
639639
You can’t perform that action at this time.
0 commit comments