@kwirthmagnify/kwirth-common-ai 0.5.42 → 0.5.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/front.js +3 -3
- package/package.json +1 -1
package/dist/front.js
CHANGED
|
@@ -270,11 +270,11 @@ const AiConfigProvider = (props) => {
|
|
|
270
270
|
setLoadingModels(false);
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
|
-
return (react_1.default.createElement(material_1.Dialog, { open: true, onClose: () => props.onClose(undefined), PaperProps: { sx: { width: '80vw', maxWidth: '900px', height: '
|
|
273
|
+
return (react_1.default.createElement(material_1.Dialog, { open: true, onClose: () => props.onClose(undefined), PaperProps: { sx: { width: '80vw', maxWidth: '900px', height: 'auto', maxHeight: '90vh' } } },
|
|
274
274
|
react_1.default.createElement(material_1.DialogTitle, null, "AI \u2014 Provider config"),
|
|
275
|
-
react_1.default.createElement(material_1.DialogContent, { style: { display: 'flex'
|
|
275
|
+
react_1.default.createElement(material_1.DialogContent, { style: { display: 'flex' } },
|
|
276
276
|
react_1.default.createElement(material_1.Box, { sx: { flex: 1, display: 'flex', flexDirection: 'column', boxSizing: 'border-box', maxWidth: '30%' } },
|
|
277
|
-
react_1.default.createElement(material_1.Box, { sx: { flex: 1, overflowY: 'auto' } },
|
|
277
|
+
react_1.default.createElement(material_1.Box, { sx: { flex: 1, overflowY: 'auto', maxHeight: '60vh' } },
|
|
278
278
|
react_1.default.createElement(material_1.List, { sx: { mr: 1 } }, providers.map((p, index) => {
|
|
279
279
|
var _a;
|
|
280
280
|
return (react_1.default.createElement(material_1.ListItemButton, { key: index, selected: selectedIndex === index, onClick: () => onProviderSelected(p, index) },
|