(mode: string)
| 73 | }, [cycleMode]); |
| 74 | |
| 75 | const notGreatAtAgent = (mode: string) => ( |
| 76 | <> |
| 77 | <ToolTip |
| 78 | style={{ |
| 79 | zIndex: 200001, // in front of listbox |
| 80 | }} |
| 81 | className="flex items-center gap-1" |
| 82 | content={`${mode} might not work well with this model.`} |
| 83 | > |
| 84 | <ExclamationTriangleIcon className="text-warning h-2.5 w-2.5" /> |
| 85 | </ToolTip> |
| 86 | </> |
| 87 | ); |
| 88 | |
| 89 | return ( |
| 90 | <Listbox value={mode} onChange={selectMode}> |