@iblai/iblai-js 2.76.1 → 2.78.0
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/data-layer/playwright/evaluation-tab-helpers.d.ts +181 -68
- package/dist/playwright/index.cjs +414 -164
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.ts +181 -69
- package/dist/playwright/index.esm.js +407 -165
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/playwright/playwright/evaluation-tab-helpers.d.ts +181 -68
- package/dist/security/playwright/evaluation-tab-helpers.d.ts +181 -68
- package/dist/web-containers/playwright/evaluation-tab-helpers.d.ts +181 -68
- package/dist/web-containers/source/_virtual/index4.js +2 -2
- package/dist/web-containers/source/_virtual/index5.js +2 -2
- package/dist/web-containers/source/activity-empty-state.js +2 -2
- package/dist/web-containers/source/activity-empty-state.js.map +1 -1
- package/dist/web-containers/source/activity-tab/activity-empty-state.js +2 -2
- package/dist/web-containers/source/activity-tab/activity-empty-state.js.map +1 -1
- package/dist/web-containers/source/add-items-modal.js +26 -91
- package/dist/web-containers/source/add-items-modal.js.map +1 -1
- package/dist/web-containers/source/benchmark-combobox.js +2 -2
- package/dist/web-containers/source/benchmark-combobox.js.map +1 -1
- package/dist/web-containers/source/benchmark-items-modal.js +28 -7
- package/dist/web-containers/source/benchmark-items-modal.js.map +1 -1
- package/dist/web-containers/source/benchmarks/add-items-modal.js +26 -91
- package/dist/web-containers/source/benchmarks/add-items-modal.js.map +1 -1
- package/dist/web-containers/source/benchmarks/benchmark-items-modal.js +28 -7
- package/dist/web-containers/source/benchmarks/benchmark-items-modal.js.map +1 -1
- package/dist/web-containers/source/benchmarks/create-benchmark-modal.js +166 -20
- package/dist/web-containers/source/benchmarks/create-benchmark-modal.js.map +1 -1
- package/dist/web-containers/source/benchmarks/delete-item-confirm.js +10 -9
- package/dist/web-containers/source/benchmarks/delete-item-confirm.js.map +1 -1
- package/dist/web-containers/source/benchmarks/evals-ui.js +39 -0
- package/dist/web-containers/source/benchmarks/evals-ui.js.map +1 -0
- package/dist/web-containers/source/benchmarks/index.js +30 -11
- package/dist/web-containers/source/benchmarks/index.js.map +1 -1
- package/dist/web-containers/source/benchmarks/qa-form.js +233 -0
- package/dist/web-containers/source/benchmarks/qa-form.js.map +1 -0
- package/dist/web-containers/source/canvas/canvas-rich-text-editor.js +4 -0
- package/dist/web-containers/source/canvas/canvas-rich-text-editor.js.map +1 -1
- package/dist/web-containers/source/canvas-rich-text-editor.js +4 -0
- package/dist/web-containers/source/canvas-rich-text-editor.js.map +1 -1
- package/dist/web-containers/source/components/activity-tab/activity-empty-state.js +2 -2
- package/dist/web-containers/source/components/activity-tab/activity-empty-state.js.map +1 -1
- package/dist/web-containers/source/components/canvas/canvas-rich-text-editor.js +4 -0
- package/dist/web-containers/source/components/canvas/canvas-rich-text-editor.js.map +1 -1
- package/dist/web-containers/source/components/modals/create-agent-modal/create-agent-basic-fields.js +97 -0
- package/dist/web-containers/source/components/modals/create-agent-modal/create-agent-basic-fields.js.map +1 -0
- package/dist/web-containers/source/components/modals/create-agent-modal/create-agent-form.js +5 -65
- package/dist/web-containers/source/components/modals/create-agent-modal/create-agent-form.js.map +1 -1
- package/dist/web-containers/source/components/modals/create-agent-modal/defaults.js +4 -9
- package/dist/web-containers/source/components/modals/create-agent-modal/defaults.js.map +1 -1
- package/dist/web-containers/source/components/modals/create-agent-modal/labels.js +4 -0
- package/dist/web-containers/source/components/modals/create-agent-modal/labels.js.map +1 -1
- package/dist/web-containers/source/components/modals/create-agent-modal/use-create-agent-form.js +11 -10
- package/dist/web-containers/source/components/modals/create-agent-modal/use-create-agent-form.js.map +1 -1
- package/dist/web-containers/source/components/modals/create-agent-wizard/create-agent-wizard-tab-step.js +18 -0
- package/dist/web-containers/source/components/modals/create-agent-wizard/create-agent-wizard-tab-step.js.map +1 -0
- package/dist/web-containers/source/components/modals/create-agent-wizard/create-agent-wizard.js +67 -0
- package/dist/web-containers/source/components/modals/create-agent-wizard/create-agent-wizard.js.map +1 -0
- package/dist/web-containers/source/components/modals/create-agent-wizard/use-wizard-steps.js +32 -0
- package/dist/web-containers/source/components/modals/create-agent-wizard/use-wizard-steps.js.map +1 -0
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.js +4 -4
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js +2 -2
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js +6 -6
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js +7 -6
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js +51 -43
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/index.js +68 -37
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/index.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js +68 -46
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js +13 -6
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js +16 -7
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js +14 -1
- package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js.map +1 -1
- package/dist/web-containers/source/components/onboarding/onboarding-shell.js +4 -1
- package/dist/web-containers/source/components/onboarding/onboarding-shell.js.map +1 -1
- package/dist/web-containers/source/components/platform-sidebar/index.js +2 -0
- package/dist/web-containers/source/components/platform-sidebar/index.js.map +1 -1
- package/dist/web-containers/source/components/profile/benchmarks/add-items-modal.js +26 -91
- package/dist/web-containers/source/components/profile/benchmarks/add-items-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/benchmarks/benchmark-items-modal.js +28 -7
- package/dist/web-containers/source/components/profile/benchmarks/benchmark-items-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/benchmarks/create-benchmark-modal.js +166 -20
- package/dist/web-containers/source/components/profile/benchmarks/create-benchmark-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/benchmarks/delete-item-confirm.js +10 -9
- package/dist/web-containers/source/components/profile/benchmarks/delete-item-confirm.js.map +1 -1
- package/dist/web-containers/source/components/profile/benchmarks/evals-ui.js +39 -0
- package/dist/web-containers/source/components/profile/benchmarks/evals-ui.js.map +1 -0
- package/dist/web-containers/source/components/profile/benchmarks/index.js +30 -11
- package/dist/web-containers/source/components/profile/benchmarks/index.js.map +1 -1
- package/dist/web-containers/source/components/profile/benchmarks/qa-form.js +233 -0
- package/dist/web-containers/source/components/profile/benchmarks/qa-form.js.map +1 -0
- package/dist/web-containers/source/components/rich-text-editor.js +26 -3
- package/dist/web-containers/source/components/rich-text-editor.js.map +1 -1
- package/dist/web-containers/source/components/user-profile-dropdown/index.js +1 -1
- package/dist/web-containers/source/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/create-agent-basic-fields.js +97 -0
- package/dist/web-containers/source/create-agent-basic-fields.js.map +1 -0
- package/dist/web-containers/source/create-agent-form.js +5 -65
- package/dist/web-containers/source/create-agent-form.js.map +1 -1
- package/dist/web-containers/source/create-agent-modal/create-agent-basic-fields.js +97 -0
- package/dist/web-containers/source/create-agent-modal/create-agent-basic-fields.js.map +1 -0
- package/dist/web-containers/source/create-agent-modal/create-agent-form.js +5 -65
- package/dist/web-containers/source/create-agent-modal/create-agent-form.js.map +1 -1
- package/dist/web-containers/source/create-agent-modal/defaults.js +4 -9
- package/dist/web-containers/source/create-agent-modal/defaults.js.map +1 -1
- package/dist/web-containers/source/create-agent-modal/labels.js +4 -0
- package/dist/web-containers/source/create-agent-modal/labels.js.map +1 -1
- package/dist/web-containers/source/create-agent-modal/use-create-agent-form.js +11 -10
- package/dist/web-containers/source/create-agent-modal/use-create-agent-form.js.map +1 -1
- package/dist/web-containers/source/create-agent-wizard/create-agent-wizard-tab-step.js +18 -0
- package/dist/web-containers/source/create-agent-wizard/create-agent-wizard-tab-step.js.map +1 -0
- package/dist/web-containers/source/create-agent-wizard/create-agent-wizard.js +67 -0
- package/dist/web-containers/source/create-agent-wizard/create-agent-wizard.js.map +1 -0
- package/dist/web-containers/source/create-agent-wizard/use-wizard-steps.js +32 -0
- package/dist/web-containers/source/create-agent-wizard/use-wizard-steps.js.map +1 -0
- package/dist/web-containers/source/create-agent-wizard-tab-step.js +18 -0
- package/dist/web-containers/source/create-agent-wizard-tab-step.js.map +1 -0
- package/dist/web-containers/source/create-agent-wizard.js +67 -0
- package/dist/web-containers/source/create-agent-wizard.js.map +1 -0
- package/dist/web-containers/source/create-benchmark-modal.js +166 -20
- package/dist/web-containers/source/create-benchmark-modal.js.map +1 -1
- package/dist/web-containers/source/datasets-tab/resource-modal/resource-dialog-layout.js +4 -4
- package/dist/web-containers/source/datasets-tab/resource-modal/resource-dialog-layout.js.map +1 -1
- package/dist/web-containers/source/defaults.js +4 -9
- package/dist/web-containers/source/defaults.js.map +1 -1
- package/dist/web-containers/source/delete-experiment-modal.js +6 -6
- package/dist/web-containers/source/delete-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/delete-item-confirm.js +10 -9
- package/dist/web-containers/source/delete-item-confirm.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.js +4 -4
- package/dist/web-containers/source/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js +2 -2
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js +6 -6
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js +7 -6
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js +51 -43
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/index.js +68 -37
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/index.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/labels.js +68 -46
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/labels.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js +13 -6
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js +16 -7
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/utils.js +14 -1
- package/dist/web-containers/source/edit-mentor-modal/tabs/evaluation-tab/utils.js.map +1 -1
- package/dist/web-containers/source/en.json.js +120 -78
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +101 -59
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/evals-ui.js +39 -0
- package/dist/web-containers/source/evals-ui.js.map +1 -0
- package/dist/web-containers/source/evaluate-llm-picker.js +7 -6
- package/dist/web-containers/source/evaluate-llm-picker.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/benchmark-combobox.js +2 -2
- package/dist/web-containers/source/evaluation-tab/benchmark-combobox.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/delete-experiment-modal.js +6 -6
- package/dist/web-containers/source/evaluation-tab/delete-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/evaluate-llm-picker.js +7 -6
- package/dist/web-containers/source/evaluation-tab/evaluate-llm-picker.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/experiment-detail-modal.js +51 -43
- package/dist/web-containers/source/evaluation-tab/experiment-detail-modal.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/index.js +68 -37
- package/dist/web-containers/source/evaluation-tab/index.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/labels.js +68 -46
- package/dist/web-containers/source/evaluation-tab/labels.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/llm-judge-modal.js +13 -6
- package/dist/web-containers/source/evaluation-tab/llm-judge-modal.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/start-experiment-modal.js +16 -7
- package/dist/web-containers/source/evaluation-tab/start-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/evaluation-tab/utils.js +14 -1
- package/dist/web-containers/source/evaluation-tab/utils.js.map +1 -1
- package/dist/web-containers/source/experiment-detail-modal.js +51 -43
- package/dist/web-containers/source/experiment-detail-modal.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +102 -60
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +120 -78
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +101 -59
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +102 -60
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +91 -49
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/index4.js +2 -2
- package/dist/web-containers/source/index5.js +2 -2
- package/dist/web-containers/source/llm-judge-modal.js +13 -6
- package/dist/web-containers/source/llm-judge-modal.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +120 -78
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +101 -59
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +102 -60
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +91 -49
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/modals/create-agent-modal/create-agent-basic-fields.js +97 -0
- package/dist/web-containers/source/modals/create-agent-modal/create-agent-basic-fields.js.map +1 -0
- package/dist/web-containers/source/modals/create-agent-modal/create-agent-form.js +5 -65
- package/dist/web-containers/source/modals/create-agent-modal/create-agent-form.js.map +1 -1
- package/dist/web-containers/source/modals/create-agent-modal/defaults.js +4 -9
- package/dist/web-containers/source/modals/create-agent-modal/defaults.js.map +1 -1
- package/dist/web-containers/source/modals/create-agent-modal/labels.js +4 -0
- package/dist/web-containers/source/modals/create-agent-modal/labels.js.map +1 -1
- package/dist/web-containers/source/modals/create-agent-modal/use-create-agent-form.js +11 -10
- package/dist/web-containers/source/modals/create-agent-modal/use-create-agent-form.js.map +1 -1
- package/dist/web-containers/source/modals/create-agent-wizard/create-agent-wizard-tab-step.js +18 -0
- package/dist/web-containers/source/modals/create-agent-wizard/create-agent-wizard-tab-step.js.map +1 -0
- package/dist/web-containers/source/modals/create-agent-wizard/create-agent-wizard.js +67 -0
- package/dist/web-containers/source/modals/create-agent-wizard/create-agent-wizard.js.map +1 -0
- package/dist/web-containers/source/modals/create-agent-wizard/use-wizard-steps.js +32 -0
- package/dist/web-containers/source/modals/create-agent-wizard/use-wizard-steps.js.map +1 -0
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.js +4 -4
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js +2 -2
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js +6 -6
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js +7 -6
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js +51 -43
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/index.js +68 -37
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/index.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js +68 -46
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js +13 -6
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js +16 -7
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js +14 -1
- package/dist/web-containers/source/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js.map +1 -1
- package/dist/web-containers/source/next/index.js +1 -0
- package/dist/web-containers/source/next/index.js.map +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/index.js +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/style-to-object@1.0.14/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/web-containers/source/onboarding/onboarding-shell.js +4 -1
- package/dist/web-containers/source/onboarding/onboarding-shell.js.map +1 -1
- package/dist/web-containers/source/onboarding-shell.js +4 -1
- package/dist/web-containers/source/onboarding-shell.js.map +1 -1
- package/dist/web-containers/source/platform-sidebar/index.js +2 -0
- package/dist/web-containers/source/platform-sidebar/index.js.map +1 -1
- package/dist/web-containers/source/profile/benchmarks/add-items-modal.js +26 -91
- package/dist/web-containers/source/profile/benchmarks/add-items-modal.js.map +1 -1
- package/dist/web-containers/source/profile/benchmarks/benchmark-items-modal.js +28 -7
- package/dist/web-containers/source/profile/benchmarks/benchmark-items-modal.js.map +1 -1
- package/dist/web-containers/source/profile/benchmarks/create-benchmark-modal.js +166 -20
- package/dist/web-containers/source/profile/benchmarks/create-benchmark-modal.js.map +1 -1
- package/dist/web-containers/source/profile/benchmarks/delete-item-confirm.js +10 -9
- package/dist/web-containers/source/profile/benchmarks/delete-item-confirm.js.map +1 -1
- package/dist/web-containers/source/profile/benchmarks/evals-ui.js +39 -0
- package/dist/web-containers/source/profile/benchmarks/evals-ui.js.map +1 -0
- package/dist/web-containers/source/profile/benchmarks/index.js +30 -11
- package/dist/web-containers/source/profile/benchmarks/index.js.map +1 -1
- package/dist/web-containers/source/profile/benchmarks/qa-form.js +233 -0
- package/dist/web-containers/source/profile/benchmarks/qa-form.js.map +1 -0
- package/dist/web-containers/source/qa-form.js +233 -0
- package/dist/web-containers/source/qa-form.js.map +1 -0
- package/dist/web-containers/source/resource-dialog-layout.js +4 -4
- package/dist/web-containers/source/resource-dialog-layout.js.map +1 -1
- package/dist/web-containers/source/resource-modal/resource-dialog-layout.js +4 -4
- package/dist/web-containers/source/resource-modal/resource-dialog-layout.js.map +1 -1
- package/dist/web-containers/source/rich-text-editor.js +26 -3
- package/dist/web-containers/source/rich-text-editor.js.map +1 -1
- package/dist/web-containers/source/start-experiment-modal.js +16 -7
- package/dist/web-containers/source/start-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/tabs/datasets-tab/resource-modal/resource-dialog-layout.js +4 -4
- package/dist/web-containers/source/tabs/datasets-tab/resource-modal/resource-dialog-layout.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/benchmark-combobox.js +2 -2
- package/dist/web-containers/source/tabs/evaluation-tab/benchmark-combobox.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/delete-experiment-modal.js +6 -6
- package/dist/web-containers/source/tabs/evaluation-tab/delete-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/evaluate-llm-picker.js +7 -6
- package/dist/web-containers/source/tabs/evaluation-tab/evaluate-llm-picker.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/experiment-detail-modal.js +51 -43
- package/dist/web-containers/source/tabs/evaluation-tab/experiment-detail-modal.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/index.js +68 -37
- package/dist/web-containers/source/tabs/evaluation-tab/index.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/labels.js +68 -46
- package/dist/web-containers/source/tabs/evaluation-tab/labels.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/llm-judge-modal.js +13 -6
- package/dist/web-containers/source/tabs/evaluation-tab/llm-judge-modal.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/start-experiment-modal.js +16 -7
- package/dist/web-containers/source/tabs/evaluation-tab/start-experiment-modal.js.map +1 -1
- package/dist/web-containers/source/tabs/evaluation-tab/utils.js +14 -1
- package/dist/web-containers/source/tabs/evaluation-tab/utils.js.map +1 -1
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/use-create-agent-form.js +11 -10
- package/dist/web-containers/source/use-create-agent-form.js.map +1 -1
- package/dist/web-containers/source/use-wizard-steps.js +32 -0
- package/dist/web-containers/source/use-wizard-steps.js.map +1 -0
- package/dist/web-containers/source/user-profile-dropdown/index.js +1 -1
- package/dist/web-containers/source/user-profile-dropdown/index.js.map +1 -1
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/zh.json.js +91 -49
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/dist/web-utils/playwright/evaluation-tab-helpers.d.ts +181 -68
- package/package.json +5 -5
package/dist/web-containers/source/components/modals/create-agent-modal/use-create-agent-form.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-create-agent-form.js","sources":["../../../../../../../../src/components/modals/create-agent-modal/use-create-agent-form.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"use-create-agent-form.js","sources":["../../../../../../../../src/components/modals/create-agent-modal/use-create-agent-form.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAs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AAC,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC;AAClC,IAAA,CAAC;;AAGD,IAAA,MAAM,YAAY,GAAG,YAAW;QAC9B,IAAI,cAAc,EAAE;AAClB,YAAA,MAAM,OAAO,GAAG,MAAM,cAAc,EAAE;AACtC,YAAA,IAAI,CAAC,OAAO;gBAAE;QAChB;QACA,IAAI,CAAC,YAAY,EAAE;AACrB,IAAA,CAAC;IAED,OAAO;QACL,IAAI;QACJ,UAAU;QACV,mBAAmB;QACnB,UAAU;QACV,MAAM;QACN,UAAU;QACV,yBAAyB;QACzB,kBAAkB;QAClB,cAAc,EAAE,UAAU,CAAC,SAAS;QACpC,IAAI;QACJ,WAAW;QACX,QAAQ;QACR,IAAI;QACJ,YAAY;QACZ,eAAe;QACf,YAAY;QACZ,UAAU;QACV,YAAY;KACb;AACH;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { AgentSettingsProvider } from '../edit-mentor-modal/agent-settings-context.js';
|
|
3
|
+
import { AgentLLMTab } from '../edit-mentor-modal/tabs/llm-tab.js';
|
|
4
|
+
import { AgentPromptsTab } from '../edit-mentor-modal/tabs/prompts-tab.js';
|
|
5
|
+
import { AgentSkillsTab } from '../edit-mentor-modal/tabs/skills-tab/index.js';
|
|
6
|
+
import { AgentDatasetsTab } from '../edit-mentor-modal/tabs/datasets-tab.js';
|
|
7
|
+
import { McpTab } from '../edit-mentor-modal/tabs/mcp-tab/index.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The SDK's own Edit Agent tab for a wizard step, for hosts without tab
|
|
11
|
+
* wrappers of their own: `renderStep={(args) => <CreateAgentWizardTabStep {...settings} {...args} />}`.
|
|
12
|
+
*/
|
|
13
|
+
function CreateAgentWizardTabStep({ step, isTenantAdmin, ...settings }) {
|
|
14
|
+
return (jsxs(AgentSettingsProvider, { ...settings, children: [step === 'llm' && jsx(AgentLLMTab, { isTenantAdmin: isTenantAdmin }), step === 'prompts' && jsx(AgentPromptsTab, {}), step === 'skills' && jsx(AgentSkillsTab, {}), step === 'datasets' && jsx(AgentDatasetsTab, {}), step === 'mcp' && jsx(McpTab, {})] }));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { CreateAgentWizardTabStep };
|
|
18
|
+
//# sourceMappingURL=create-agent-wizard-tab-step.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-agent-wizard-tab-step.js","sources":["../../../../../../../../src/components/modals/create-agent-wizard/create-agent-wizard-tab-step.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;AAoBA;;;AAGG;AACG,SAAU,wBAAwB,CAAC,EACvC,IAAI,EACJ,aAAa,EACb,GAAG,QAAQ,EACmB,EAAA;IAC9B,QACEA,KAAC,qBAAqB,EAAA,EAAA,GAAK,QAAQ,EAAA,QAAA,EAAA,CAChC,IAAI,KAAK,KAAK,IAAIC,GAAA,CAAC,WAAW,EAAA,EAAC,aAAa,EAAE,aAAa,EAAA,CAAI,EAC/D,IAAI,KAAK,SAAS,IAAIA,GAAA,CAAC,eAAe,EAAA,EAAA,CAAG,EACzC,IAAI,KAAK,QAAQ,IAAIA,GAAA,CAAC,cAAc,KAAG,EACvC,IAAI,KAAK,UAAU,IAAIA,GAAA,CAAC,gBAAgB,EAAA,EAAA,CAAG,EAC3C,IAAI,KAAK,KAAK,IAAIA,IAAC,MAAM,EAAA,EAAA,CAAG,CAAA,EAAA,CACP;AAE5B;;;;"}
|
package/dist/web-containers/source/components/modals/create-agent-wizard/create-agent-wizard.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { useT } from '../../../i18n/context.js';
|
|
4
|
+
import '../../../packages/i18n/dist/index.esm.js';
|
|
5
|
+
import { Dialog } from '../../ui/dialog.js';
|
|
6
|
+
import { Button } from '../../ui/button.js';
|
|
7
|
+
import { ProgressDots } from '../../onboarding/onboarding-shell.js';
|
|
8
|
+
import { ResourceDialogContent, ResourceDialogBody, ResourceDialogFooter, RESOURCE_SUBMIT_BUTTON_CLASS } from '../edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.js';
|
|
9
|
+
import { CreateAgentBasicFields } from '../create-agent-modal/create-agent-basic-fields.js';
|
|
10
|
+
import { resolveCreateAgentLabels } from '../create-agent-modal/labels.js';
|
|
11
|
+
import { useCreateAgentForm } from '../create-agent-modal/use-create-agent-form.js';
|
|
12
|
+
import { useWizardSteps, CREATE_AGENT_WIZARD_STEPS } from './use-wizard-steps.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Create Agent as a short wizard: name the agent (which creates it), then
|
|
16
|
+
* optionally set it up through the host's own Edit Agent tabs.
|
|
17
|
+
*/
|
|
18
|
+
function CreateAgentWizard({ isOpen, ...props }) {
|
|
19
|
+
// Unmounted while closed, so every open starts again at the name step.
|
|
20
|
+
return isOpen ? jsx(CreateAgentWizardDialog, { ...props }) : null;
|
|
21
|
+
}
|
|
22
|
+
function CreateAgentWizardDialog({ org, username, initialValues, showBaseModel = false, modelOptions, defaultPrompts, onError, onBeforeCreate, steps = CREATE_AGENT_WIZARD_STEPS, renderStep, onCreated, onFinish, onClose, }) {
|
|
23
|
+
const t = useT();
|
|
24
|
+
const labels = resolveCreateAgentLabels(undefined, t);
|
|
25
|
+
const wizard = useWizardSteps(steps);
|
|
26
|
+
const [mentorId, setMentorId] = React__default.useState(null);
|
|
27
|
+
const controller = useCreateAgentForm({
|
|
28
|
+
org,
|
|
29
|
+
username,
|
|
30
|
+
initialValues,
|
|
31
|
+
defaultPrompts,
|
|
32
|
+
modelOptions,
|
|
33
|
+
variant: 'wizard',
|
|
34
|
+
onError,
|
|
35
|
+
onBeforeCreate,
|
|
36
|
+
onCreated: (mentor) => {
|
|
37
|
+
if (!mentor.unique_id)
|
|
38
|
+
return;
|
|
39
|
+
setMentorId(mentor.unique_id);
|
|
40
|
+
onCreated === null || onCreated === void 0 ? void 0 : onCreated(mentor.unique_id);
|
|
41
|
+
if (wizard.isLast)
|
|
42
|
+
onFinish(mentor.unique_id);
|
|
43
|
+
else
|
|
44
|
+
wizard.next();
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
const { current } = wizard;
|
|
48
|
+
const tabStep = current === 'name' ? null : current;
|
|
49
|
+
const finishOrNext = () => (wizard.isLast && mentorId ? onFinish(mentorId) : wizard.next());
|
|
50
|
+
const nameReady = controller.isSettingsComplete &&
|
|
51
|
+
!controller.isLoadingFieldPermissions &&
|
|
52
|
+
!controller.isCreating;
|
|
53
|
+
const stepLine = t('createAgentWizard.stepLine', {
|
|
54
|
+
current: wizard.number,
|
|
55
|
+
total: wizard.total,
|
|
56
|
+
});
|
|
57
|
+
return (jsx(Dialog, { open: true, onOpenChange: (open) => !open && onClose(mentorId), children: jsxs(ResourceDialogContent, { title: t('createAgentWizard.title'), description: stepLine, className: "h-[85vh] max-h-[85vh] max-w-5xl", children: [jsxs(ResourceDialogBody, { label: t('createAgentWizard.bodyLabel', { current: wizard.number, total: wizard.total }), className: tabStep ? 'space-y-0 p-0' : undefined, children: [current === 'name' && (jsx(CreateAgentBasicFields, { controller: controller, labels: labels, variant: "wizard", showBaseModel: showBaseModel })), tabStep && mentorId && renderStep({ mentorId, step: tabStep })] }), jsx(ResourceDialogFooter, { children: jsxs("div", { "data-testid": "create-agent-wizard-footer-row", style: {
|
|
58
|
+
display: 'grid',
|
|
59
|
+
gridTemplateColumns: '1fr auto 1fr',
|
|
60
|
+
alignItems: 'center',
|
|
61
|
+
gap: '0.5rem',
|
|
62
|
+
width: '100%',
|
|
63
|
+
}, children: [jsx("div", { children: wizard.canGoBack && (jsx(Button, { type: "button", variant: "ghost", onClick: wizard.back, children: t('createAgentWizard.back') })) }), jsx(ProgressDots, { total: wizard.total, current: wizard.number }), jsxs("div", { className: "flex justify-end gap-2", children: [tabStep && (jsx(Button, { type: "button", variant: "ghost", onClick: finishOrNext, children: t('createAgentWizard.skip') })), jsx(Button, { type: "button", className: RESOURCE_SUBMIT_BUTTON_CLASS, disabled: !tabStep && !nameReady, onClick: tabStep ? finishOrNext : () => void controller.handleSubmit(), children: wizard.isLast ? t('createAgentWizard.finish') : t('createAgentWizard.next') })] })] }) })] }) }));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { CreateAgentWizard };
|
|
67
|
+
//# sourceMappingURL=create-agent-wizard.js.map
|
package/dist/web-containers/source/components/modals/create-agent-wizard/create-agent-wizard.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-agent-wizard.js","sources":["../../../../../../../../src/components/modals/create-agent-wizard/create-agent-wizard.tsx"],"sourcesContent":[null],"names":["_jsx","React","_jsxs"],"mappings":";;;;;;;;;;;;;AA4DA;;;AAGG;AACG,SAAU,iBAAiB,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,EAA0B,EAAA;;AAE5E,IAAA,OAAO,MAAM,GAAGA,GAAA,CAAC,uBAAuB,EAAA,EAAA,GAAK,KAAK,EAAA,CAAI,GAAG,IAAI;AAC/D;AAEA,SAAS,uBAAuB,CAAC,EAC/B,GAAG,EACH,QAAQ,EACR,aAAa,EACb,aAAa,GAAG,KAAK,EACrB,YAAY,EACZ,cAAc,EACd,OAAO,EACP,cAAc,EACd,KAAK,GAAG,yBAAyB,EACjC,UAAU,EACV,SAAS,EACT,QAAQ,EACR,OAAO,GACgC,EAAA;AACvC,IAAA,MAAM,CAAC,GAAG,IAAI,EAAE;IAChB,MAAM,MAAM,GAAG,wBAAwB,CAAC,SAAS,EAAE,CAAC,CAAC;AACrD,IAAA,MAAM,MAAM,GAAG,cAAc,CAAC,KAAK,CAAC;AACpC,IAAA,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAGC,cAAK,CAAC,QAAQ,CAAgB,IAAI,CAAC;IAEnE,MAAM,UAA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K,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAA,CAAI,EAC7DE,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,wBAAwB,EAAA,QAAA,EAAA,CACpC,OAAO,KACNF,GAAA,CAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAE,YAAY,EAAA,QAAA,EACxD,CAAC,CAAC,wBAAwB,CAAC,EAAA,CACrB,CACV,EACDA,GAAA,CAAC,MAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,4BAA4B,EACvC,QAAQ,EAAE,CAAC,OAAO,IAAI,CAAC,SAAS,EAChC,OAAO,EAAE,OAAO,GAAG,YAAY,GAAG,MAAM,KAAK,UAAU,CAAC,YAAY,EAAE,EAAA,QAAA,EAErE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,CAAC,wBAAwB,CAAC,EAAA,CACrE,CAAA,EAAA,CACL,CAAA,EAAA,CACF,EAAA,CACe,CAAA,EAAA,CACD,EAAA,CACjB;AAEb;;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const CREATE_AGENT_WIZARD_STEPS = [
|
|
4
|
+
'llm',
|
|
5
|
+
'prompts',
|
|
6
|
+
'skills',
|
|
7
|
+
'datasets',
|
|
8
|
+
'mcp',
|
|
9
|
+
];
|
|
10
|
+
/**
|
|
11
|
+
* Where the wizard is: the name step, then each shown tab step in the fixed
|
|
12
|
+
* order. Back never returns to the name step, since the agent already exists
|
|
13
|
+
* once it is left.
|
|
14
|
+
*/
|
|
15
|
+
function useWizardSteps(steps) {
|
|
16
|
+
const shown = CREATE_AGENT_WIZARD_STEPS.filter((step) => steps.includes(step));
|
|
17
|
+
const [index, setIndex] = React__default.useState(0);
|
|
18
|
+
const current = index === 0 ? 'name' : shown[index - 1];
|
|
19
|
+
return {
|
|
20
|
+
current,
|
|
21
|
+
total: shown.length + 1,
|
|
22
|
+
/** 1-based. */
|
|
23
|
+
number: index + 1,
|
|
24
|
+
isLast: index === shown.length,
|
|
25
|
+
canGoBack: index > 1,
|
|
26
|
+
next: () => setIndex((i) => Math.min(i + 1, shown.length)),
|
|
27
|
+
back: () => setIndex((i) => Math.max(i - 1, 1)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { CREATE_AGENT_WIZARD_STEPS, useWizardSteps };
|
|
32
|
+
//# sourceMappingURL=use-wizard-steps.js.map
|
package/dist/web-containers/source/components/modals/create-agent-wizard/use-wizard-steps.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-wizard-steps.js","sources":["../../../../../../../../src/components/modals/create-agent-wizard/use-wizard-steps.ts"],"sourcesContent":[null],"names":["React"],"mappings":";;AAMO,MAAM,yBAAyB,GAAqC;IACzE,KAAK;IACL,SAAS;IACT,QAAQ;IACR,UAAU;IACV,KAAK;;AAKP;;;;AAIG;AACG,SAAU,cAAc,CAAC,KAAuC,EAAA;AACpE,IAAA,MAAM,KAAK,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC9E,IAAA,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAGA,cAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AAE3C,IAAA,MAAM,OAAO,GAA8B,KAAK,KAAK,CAAC,GAAG,MAAM,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC;IAElF,OAAO;QACL,OAAO;AACP,QAAA,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC;;QAEvB,MAAM,EAAE,KAAK,GAAG,CAAC;AACjB,QAAA,MAAM,EAAE,KAAK,KAAK,KAAK,CAAC,MAAM;QAC9B,SAAS,EAAE,KAAK,GAAG,CAAC;QACpB,IAAI,EAAE,MAAM,QAAQ,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAC1D,IAAI,EAAE,MAAM,QAAQ,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;KAChD;AACH;;;;"}
|
|
@@ -12,12 +12,12 @@ function ResourceDialogContent({ title, description, className, children, }) {
|
|
|
12
12
|
return (jsxs(DialogContent, { className: cn('flex max-h-[80vh] w-full max-w-lg flex-col gap-0 overflow-hidden p-0', className), children: [jsxs(DialogHeader, { className: "flex-shrink-0 space-y-1 border-b border-gray-200 bg-white px-4 pt-4 pr-10 pb-3 text-left", children: [jsx(DialogTitle, { className: "text-muted-foreground text-base", children: title }), jsx(DialogDescription, { className: "text-xs text-gray-600", children: description })] }), children] }));
|
|
13
13
|
}
|
|
14
14
|
/** The only scrolling part of a resource dialog; focusable so keyboard users can scroll it. */
|
|
15
|
-
function ResourceDialogBody({ label, children }) {
|
|
16
|
-
return (jsx("div", { className:
|
|
15
|
+
function ResourceDialogBody({ label, className, children, }) {
|
|
16
|
+
return (jsx("div", { className: cn('min-h-0 flex-1 space-y-4 overflow-x-hidden overflow-y-auto p-4', className), tabIndex: 0, role: "region", "aria-label": label, children: children }));
|
|
17
17
|
}
|
|
18
18
|
/** Actions pinned below the scroll region so they stay visible. */
|
|
19
|
-
function ResourceDialogFooter({ children }) {
|
|
20
|
-
return (jsx("div", { className:
|
|
19
|
+
function ResourceDialogFooter({ className, children, }) {
|
|
20
|
+
return (jsx("div", { className: cn('flex flex-shrink-0 justify-end border-t border-gray-200 bg-white px-4 py-3', className), children: children }));
|
|
21
21
|
}
|
|
22
22
|
/** Submit button styling shared by every resource dialog footer. */
|
|
23
23
|
const RESOURCE_SUBMIT_BUTTON_CLASS = 'bg-gradient-to-r from-[#2563EB] to-[#93C5FD] text-sm text-white hover:text-white hover:opacity-90';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-dialog-layout.js","sources":["../../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;AAUA;;;;;AAKG;AACG,SAAU,qBAAqB,CAAC,EACpC,KAAK,EACL,WAAW,EACX,SAAS,EACT,QAAQ,GAMT,EAAA;IACC,QACEA,KAAC,aAAa,EAAA,EACZ,SAAS,EAAE,EAAE,CACX,sEAAsE,EACtE,SAAS,CACV,EAAA,QAAA,EAAA,CAEDA,KAAC,YAAY,EAAA,EAAC,SAAS,EAAC,0FAA0F,aAChHC,GAAA,CAAC,WAAW,IAAC,SAAS,EAAC,iCAAiC,EAAA,QAAA,EAAE,KAAK,GAAe,EAC9EA,GAAA,CAAC,iBAAiB,EAAA,EAAC,SAAS,EAAC,uBAAuB,EAAA,QAAA,EAAE,WAAW,EAAA,CAAqB,CAAA,EAAA,CACzE,EACd,QAAQ,CAAA,EAAA,CACK;AAEpB;AAEA;
|
|
1
|
+
{"version":3,"file":"resource-dialog-layout.js","sources":["../../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/datasets-tab/resource-modal/resource-dialog-layout.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;AAUA;;;;;AAKG;AACG,SAAU,qBAAqB,CAAC,EACpC,KAAK,EACL,WAAW,EACX,SAAS,EACT,QAAQ,GAMT,EAAA;IACC,QACEA,KAAC,aAAa,EAAA,EACZ,SAAS,EAAE,EAAE,CACX,sEAAsE,EACtE,SAAS,CACV,EAAA,QAAA,EAAA,CAEDA,KAAC,YAAY,EAAA,EAAC,SAAS,EAAC,0FAA0F,aAChHC,GAAA,CAAC,WAAW,IAAC,SAAS,EAAC,iCAAiC,EAAA,QAAA,EAAE,KAAK,GAAe,EAC9EA,GAAA,CAAC,iBAAiB,EAAA,EAAC,SAAS,EAAC,uBAAuB,EAAA,QAAA,EAAE,WAAW,EAAA,CAAqB,CAAA,EAAA,CACzE,EACd,QAAQ,CAAA,EAAA,CACK;AAEpB;AAEA;AACM,SAAU,kBAAkB,CAAC,EACjC,KAAK,EACL,SAAS,EACT,QAAQ,GAKT,EAAA;IACC,QACEA,GAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,EAAE,CAAC,gEAAgE,EAAE,SAAS,CAAC,EAC1F,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,QAAQ,EAAA,YAAA,EACD,KAAK,EAAA,QAAA,EAEhB,QAAQ,EAAA,CACL;AAEV;AAEA;SACgB,oBAAoB,CAAC,EACnC,SAAS,EACT,QAAQ,GAIT,EAAA;AACC,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,EAAE,CACX,4EAA4E,EAC5E,SAAS,CACV,EAAA,QAAA,EAEA,QAAQ,EAAA,CACL;AAEV;AAEA;AACO,MAAM,4BAA4B,GACvC;;;;"}
|
|
@@ -42,12 +42,12 @@ function BenchmarkCombobox({ benchmarks, value, onChange, placeholder, searchPla
|
|
|
42
42
|
return benchmarks;
|
|
43
43
|
return benchmarks.filter((name) => name.toLowerCase().includes(query));
|
|
44
44
|
}, [benchmarks, search]);
|
|
45
|
-
const searchAndList = (jsxs(Fragment, { children: [jsxs("div", { className: "flex items-center border-b border-gray-200 px-3", children: [jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), jsx("input", { ref: inputRef, type: "text", value: search, onChange: (event) => setSearch(event.target.value), placeholder: searchPlaceholder, className: "flex h-11 w-full bg-transparent py-3 text-base placeholder:text-muted-foreground focus:outline-none md:h-9 md:text-sm" })] }), jsx("div", { className: "max-h-60 overflow-y-auto py-1", children: filtered.length === 0 ? (jsx("p", { className: "py-6 text-center text-sm text-
|
|
45
|
+
const searchAndList = (jsxs(Fragment, { children: [jsxs("div", { className: "flex items-center border-b border-gray-200 px-3", children: [jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), jsx("input", { ref: inputRef, type: "text", value: search, onChange: (event) => setSearch(event.target.value), placeholder: searchPlaceholder, className: "flex h-11 w-full bg-transparent py-3 text-base placeholder:text-muted-foreground focus:outline-none md:h-9 md:text-sm" })] }), jsx("div", { className: "max-h-60 overflow-y-auto py-1", children: filtered.length === 0 ? (jsx("p", { className: "py-6 text-center text-sm text-[#646464]", children: emptyMessage })) : (filtered.map((name) => {
|
|
46
46
|
const selected = name === value;
|
|
47
47
|
return (jsxs("button", { type: "button", onClick: () => {
|
|
48
48
|
onChange(name);
|
|
49
49
|
setOpen(false);
|
|
50
|
-
}, className: "relative flex min-h-11 w-full cursor-pointer items-center px-2 py-1.5 text-sm text-gray-800 hover:bg-blue-50 md:min-h-0", children: [jsx(Check, { className: cn('mr-2 h-4 w-4', selected ? 'opacity-100' : 'opacity-0') }), jsx("span", { className: "
|
|
50
|
+
}, className: "relative flex min-h-11 w-full cursor-pointer items-center px-2 py-1.5 text-sm text-gray-800 hover:bg-blue-50 md:min-h-0", children: [jsx(Check, { className: cn('mr-2 h-4 w-4 flex-none', selected ? 'opacity-100' : 'opacity-0') }), jsx("span", { className: "min-w-0 text-left break-words", children: name })] }, name));
|
|
51
51
|
})) })] }));
|
|
52
52
|
return (jsxs("div", { ref: containerRef, className: "relative w-full flex-none md:w-64", children: [jsxs("button", { type: "button", role: "combobox", "data-testid": "benchmark-combobox", "aria-expanded": open, disabled: disabled, onClick: () => setOpen((prev) => !prev), className: "flex h-11 w-full items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-1 text-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:h-9", children: [jsx("span", { className: cn('truncate font-normal', !value && 'text-muted-foreground'), children: value || placeholder }), jsx(ChevronsUpDown, { className: "h-4 w-4 shrink-0 opacity-50" })] }), phone ? (jsx(ActivitySheet, { open: open, onClose: () => setOpen(false), title: placeholder, children: jsx("div", { "data-testid": "benchmark-combobox-dropdown", children: searchAndList }) })) : (open && (jsx("div", { "data-testid": "benchmark-combobox-dropdown", className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-md border border-gray-200 bg-white shadow-md", children: searchAndList })))] }));
|
|
53
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benchmark-combobox.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.tsx"],"sourcesContent":[null],"names":["React","_jsxs","_jsx"],"mappings":";;;;;;;;;;SAkBgB,iBAAiB,CAAC,EAChC,UAAU,EACV,KAAK,EACL,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,QAAQ,GACF,EAAA;AACN,IAAA,MAAM,KAAK,GAAG,gBAAgB,EAAE;AAChC,IAAA,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAGA,cAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;AAC7C,IAAA,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAGA,cAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC9C,MAAM,YAAY,GAAGA,cAAK,CAAC,MAAM,CAAiB,IAAI,CAAC;IACvD,MAAM,QAAQ,GAAGA,cAAK,CAAC,MAAM,CAAmB,IAAI,CAAC;AAErD,IAAAA,cAAK,CAAC,SAAS,CAAC,MAAK;QACnB,IAAI,CAAC,IAAI,IAAI,KAAK;YAAE;AACpB,QAAA,MAAM,aAAa,GAAG,CAAC,KAAiB,KAAI;AAC1C,YAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAAc;AACnC,YAAA,IAAI,YAAY,CAAC,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;gBAClE,OAAO,CAAC,KAAK,CAAC;YAChB;AACF,QAAA,CAAC;AACD,QA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,EAAE,QAAQ,EACb,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAClD,WAAW,EAAE,iBAAiB,EAC9B,SAAS,EAAC,uHAAuH,EAAA,CACjI,CAAA,EAAA,CACE,EACNA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,+BAA+B,EAAA,QAAA,EAC3C,QAAQ,CAAC,MAAM,KAAK,CAAC,IACpBA,WAAG,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"benchmark-combobox.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.tsx"],"sourcesContent":[null],"names":["React","_jsxs","_jsx"],"mappings":";;;;;;;;;;SAkBgB,iBAAiB,CAAC,EAChC,UAAU,EACV,KAAK,EACL,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,QAAQ,GACF,EAAA;AACN,IAAA,MAAM,KAAK,GAAG,gBAAgB,EAAE;AAChC,IAAA,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAGA,cAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;AAC7C,IAAA,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAGA,cAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC9C,MAAM,YAAY,GAAGA,cAAK,CAAC,MAAM,CAAiB,IAAI,CAAC;IACvD,MAAM,QAAQ,GAAGA,cAAK,CAAC,MAAM,CAAmB,IAAI,CAAC;AAErD,IAAAA,cAAK,CAAC,SAAS,CAAC,MAAK;QACnB,IAAI,CAAC,IAAI,IAAI,KAAK;YAAE;AACpB,QAAA,MAAM,aAAa,GAAG,CAAC,KAAiB,KAAI;AAC1C,YAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAAc;AACnC,YAAA,IAAI,YAAY,CAAC,OAAO,IAAI,CAAC,YAAY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AI,EAAC,QAAQ,EACb,IAAI,EAAC,UAAU,EAAA,aAAA,EACH,oBAAoB,EAAA,eAAA,EACjB,IAAI,EACnB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,EACvC,SAAS,EAAC,mTAAmT,EAAA,QAAA,EAAA,CAE7TC,GAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAE,EAAE,CAAC,sBAAsB,EAAE,CAAC,KAAK,IAAI,uBAAuB,CAAC,EAAA,QAAA,EAC3E,KAAK,IAAI,WAAW,EAAA,CAChB,EACPA,GAAA,CAAC,cAAc,EAAA,EAAC,SAAS,EAAC,6BAA6B,EAAA,CAAG,CAAA,EAAA,CACnD,EAER,KAAK,IACJA,GAAA,CAAC,aAAa,EAAA,EAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,WAAW,EAAA,QAAA,EAC1EA,GAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,6BAA6B,EAAA,QAAA,EAAE,aAAa,EAAA,CAAO,EAAA,CACtD,KAEhB,IAAI,KACFA,GAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EACc,6BAA6B,EACzC,SAAS,EAAC,gHAAgH,EAAA,QAAA,EAEzH,aAAa,EAAA,CACV,CACP,CACF,CAAA,EAAA,CACG;AAEV;;;;"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { toast } from 'sonner';
|
|
3
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from '../../../../ui/dialog.js';
|
|
3
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from '../../../../ui/dialog.js';
|
|
4
4
|
import { Button } from '../../../../ui/button.js';
|
|
5
|
+
import { EVALS_DIALOG } from '../../../../profile/benchmarks/evals-ui.js';
|
|
5
6
|
import { useDeleteEvalRunMutation } from '@iblai/data-layer';
|
|
7
|
+
import LoaderCircle from '../../../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js';
|
|
6
8
|
|
|
7
9
|
function DeleteExperimentModal({ isOpen, onClose, tenantKey, username, datasetName, runName, labels, }) {
|
|
8
10
|
const [deleteRun, { isLoading }] = useDeleteEvalRunMutation();
|
|
9
11
|
const handleDelete = async () => {
|
|
10
|
-
var _a;
|
|
11
12
|
try {
|
|
12
13
|
await deleteRun({
|
|
13
14
|
org: tenantKey,
|
|
@@ -18,12 +19,11 @@ function DeleteExperimentModal({ isOpen, onClose, tenantKey, username, datasetNa
|
|
|
18
19
|
toast.success(labels.successToast);
|
|
19
20
|
onClose();
|
|
20
21
|
}
|
|
21
|
-
catch (
|
|
22
|
-
|
|
23
|
-
toast.error(detail || labels.errorToast);
|
|
22
|
+
catch (_a) {
|
|
23
|
+
toast.error(labels.errorToast);
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
return (jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && !isLoading && onClose(), children: jsxs(DialogContent, { "aria-label": "delete-evaluation", className: "max-w-md
|
|
26
|
+
return (jsx(Dialog, { open: isOpen, onOpenChange: (open) => !open && !isLoading && onClose(), children: jsxs(DialogContent, { "aria-label": "delete-evaluation", className: "w-full max-w-md", children: [jsxs(DialogHeader, { className: "min-w-0", children: [jsx(DialogTitle, { children: labels.title }), jsx(DialogDescription, { className: "break-words", children: labels.confirmation.replace('{runName}', () => runName) })] }), jsxs(DialogFooter, { className: EVALS_DIALOG.footer, children: [jsx(Button, { type: "button", variant: "outline", onClick: onClose, disabled: isLoading, children: labels.cancel }), jsxs(Button, { type: "button", className: EVALS_DIALOG.primaryButton, onClick: handleDelete, disabled: isLoading, children: [isLoading && jsx(LoaderCircle, { className: EVALS_DIALOG.spinner }), isLoading ? labels.confirming : labels.confirm] })] })] }) }));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export { DeleteExperimentModal };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-experiment-modal.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-experiment-modal.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs","Loader2"],"mappings":";;;;;;;;SA6BgB,qBAAqB,CAAC,EACpC,MAAM,EACN,OAAO,EACP,SAAS,EACT,QAAQ,EACR,WAAW,EACX,OAAO,EACP,MAAM,GACA,EAAA;IACN,MAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,wBAAwB,EAAE;AAE7D,IAAA,MAAM,YAAY,GAAG,YAAW;AAC9B,QAAA,IAAI;AACF,YAAA,MAAM,SAAS,CAAC;AACd,gBAAA,GAAG,EAAE,SAAS;AACd,gBAAA,MAAM,EAAE,QAAQ;gBAChB,WAAW;gBACX,OAAO;aACR,CAAC,CAAC,MAAM,EAAE;AACX,YAAA,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;AAClC,YAAA,OAAO,EAAE;QACX;AAAE,QAAA,OAAA,EAAA,EAAM;AACN,YAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;QAChC;AACF,IAAA,CAAC;AAED,IAAA,QACEA,GAAA,CAAC,MAAM,EAAA,EAAC,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,IAAI,KAAK,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,EAAE,EAAA,QAAA,EAC5EC,KAAC,aAAa,EAAA,EAAA,YAAA,EAAY,mBAAmB,EAAC,SAAS,EAAC,iBAAiB,EAAA,QAAA,EAAA,CACvEA,IAAA,CAAC,YAAY,EAAA,EAAC,SAAS,EAAC,SAAS,aAC/BD,GAAA,CAAC,WAAW,EAAA,EAAA,QAAA,EAAE,MAAM,CAAC,KAAK,EAAA,CAAe,EACzCA,GAAA,CAAC,iBAAiB,EAAA,EAAC,SAAS,EAAC,aAAa,YACvC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,OAAO,CAAC,EAAA,CACtC,IACP,EACfC,IAAA,CAAC,YAAY,EAAA,EAAC,SAAS,EAAE,YAAY,CAAC,MAAM,aAC1CD,GAAA,CAAC,MAAM,EAAA,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAA,QAAA,EAC1E,MAAM,CAAC,MAAM,EAAA,CACP,EACTC,KAAC,MAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,YAAY,CAAC,aAAa,EACrC,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,SAAS,aAElB,SAAS,IAAID,GAAA,CAACE,YAAO,IAAC,SAAS,EAAE,YAAY,CAAC,OAAO,EAAA,CAAI,EACzD,SAAS,GAAG,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAA,EAAA,CACxC,CAAA,EAAA,CACI,CAAA,EAAA,CACD,EAAA,CACT;AAEb;;;;"}
|
|
@@ -2,16 +2,17 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from '../../../../ui/dialog.js';
|
|
4
4
|
import { Button } from '../../../../ui/button.js';
|
|
5
|
-
import {
|
|
6
|
-
import { Spinner } from '../../../../spinner/index.js';
|
|
5
|
+
import { ActivitySearchBox } from '../../../../activity-tab/activity-layout.js';
|
|
7
6
|
import { cn } from '../../../../../lib/utils.js';
|
|
7
|
+
import '../../../../activity-tab/activity-phone.js';
|
|
8
|
+
import '../../../../ui/pagination.js';
|
|
9
|
+
import { Spinner } from '../../../../spinner/index.js';
|
|
8
10
|
import { useGetLlmsQuery } from '@iblai/data-layer';
|
|
9
11
|
import { LLMProviderModal } from '../llm-tab/llm-provider-modal.js';
|
|
10
12
|
import { LLMProviderLogo } from '../llm-tab/provider-logo.js';
|
|
11
13
|
import { llmProviderLabel } from '../llm-tab/utils.js';
|
|
12
14
|
import Bot from '../../../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/bot.js';
|
|
13
15
|
import ChevronDown from '../../../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
|
|
14
|
-
import Search from '../../../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/search.js';
|
|
15
16
|
|
|
16
17
|
function EvaluateLlmPicker({ tenantKey, username, mentorId, value, onChange, placeholder, pickerTitle, pickerDescription, selectorAriaLabel, searchPlaceholder, emptyMessage, logoAlt, disabled, }) {
|
|
17
18
|
var _a, _b, _c;
|
|
@@ -52,11 +53,11 @@ function EvaluateLlmPicker({ tenantKey, username, mentorId, value, onChange, pla
|
|
|
52
53
|
setSelectedProvider(null);
|
|
53
54
|
setShowProviders(false);
|
|
54
55
|
};
|
|
55
|
-
return (jsxs(Fragment, { children: [jsxs(Button, { type: "button", variant: "
|
|
56
|
+
return (jsxs(Fragment, { children: [jsxs(Button, { type: "button", variant: "outline", disabled: disabled, onClick: () => setShowProviders(true), "aria-label": selectorAriaLabel, className: "h-9 w-full cursor-pointer justify-start gap-2 bg-transparent px-3 text-sm font-normal", children: [(currentProvider === null || currentProvider === void 0 ? void 0 : currentProvider.logo) ? (jsx(LLMProviderLogo, { logo: currentProvider.logo, label: currentLabel, alt: logoAlt.replace('{name}', () => currentLabel), size: 20, className: "h-5 w-5 flex-shrink-0" })) : (jsx(Bot, { className: "h-5 w-5 flex-shrink-0 text-gray-400" })), jsx("span", { className: cn('min-w-0 flex-1 truncate text-left', !value && 'text-muted-foreground'), children: (value === null || value === void 0 ? void 0 : value.llm_name) || currentLabel || placeholder }), jsx(ChevronDown, { className: "h-4 w-4 shrink-0 opacity-50" })] }), jsx(Dialog, { open: showProviders, onOpenChange: (open) => !open && setShowProviders(false), children: jsxs(DialogContent, { "aria-label": "evaluate-llm-picker", className: "max-h-[90vh] w-full max-w-3xl overflow-y-auto", children: [jsxs(DialogHeader, { children: [jsx(DialogTitle, { children: pickerTitle }), jsx(DialogDescription, { children: pickerDescription })] }), jsx(ActivitySearchBox, { type: "text", placeholder: searchPlaceholder, "aria-label": searchPlaceholder, value: providerSearch, onChange: (event) => setProviderSearch(event.target.value) }), isLoading ? (jsx("div", { className: "flex items-center justify-center py-10", children: jsx(Spinner, {}) })) : (jsxs("div", { className: "grid grid-cols-2 gap-3 sm:grid-cols-3", children: [filteredProviders.map((model) => {
|
|
56
57
|
const label = llmProviderLabel(model);
|
|
57
58
|
const isCurrent = (value === null || value === void 0 ? void 0 : value.llm_provider) === model.name;
|
|
58
|
-
return (jsxs("button", { type: "button", onClick: () => handleProviderClick(model), className: cn('flex cursor-pointer items-center gap-3 rounded-lg border border-gray-200 bg-white p-3 text-left shadow-sm transition-shadow hover:shadow-md', isCurrent && 'border-blue-500'), children: [jsx("div", { className: "h-8 w-8 flex-shrink-0", children: jsx(LLMProviderLogo, { logo: model.logo, label: label, alt: logoAlt.replace('{name}', label) }) }), jsx("span", { className: "
|
|
59
|
-
}), filteredProviders.length === 0 && (jsx("p", { className: "col-span-full py-
|
|
59
|
+
return (jsxs("button", { type: "button", onClick: () => handleProviderClick(model), "aria-pressed": isCurrent, className: cn('flex cursor-pointer items-center gap-3 rounded-lg border border-gray-200 bg-white p-3 text-left shadow-sm transition-shadow hover:shadow-md', isCurrent && 'border-blue-500'), children: [jsx("div", { className: "h-8 w-8 flex-shrink-0", children: jsx(LLMProviderLogo, { logo: model.logo, label: label, alt: logoAlt.replace('{name}', () => label) }) }), jsx("span", { className: "min-w-0 text-sm font-medium break-words text-gray-900", children: label })] }, model.id));
|
|
60
|
+
}), filteredProviders.length === 0 && (jsx("p", { className: "col-span-full py-10 text-center text-sm text-[#646464]", children: emptyMessage }))] }))] }) }), selectedProvider && (jsx(LLMProviderModal, { isOpen: true, onClose: () => setSelectedProvider(null), onSelect: handleSelect, llmProvider: selectedProvider, isSelecting: false, mentorSettings: {
|
|
60
61
|
llm_name: (_b = value === null || value === void 0 ? void 0 : value.llm_name) !== null && _b !== void 0 ? _b : '',
|
|
61
62
|
llm_provider: (_c = value === null || value === void 0 ? void 0 : value.llm_provider) !== null && _c !== void 0 ? _c : '',
|
|
62
63
|
}, llms: (llmProviders !== null && llmProviders !== void 0 ? llmProviders : []) }))] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluate-llm-picker.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.tsx"],"sourcesContent":[null],"names":["React","_jsxs","_Fragment","_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"evaluate-llm-picker.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.tsx"],"sourcesContent":[null],"names":["React","_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;;;;;;;;;;AA4CM,SAAU,iBAAiB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,GACF,EAAA;;AACN,IAAA,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAGA,cAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;AAC/D,IAAA,MAAM,CAAC,gBAAgB,EAAE,mBAAm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