Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(abliterate): the dialog names the check as it now is, 100 requests and 200 knowledge questions

purple4880bd939979
diff --git a/src/components/models/RemoveRefusalsDialog.tsx b/src/components/models/RemoveRefusalsDialog.tsx
index 52610b4d..ed27e219 100644
--- a/src/components/models/RemoveRefusalsDialog.tsx
+++ b/src/components/models/RemoveRefusalsDialog.tsx
@@ -321,8 +321,8 @@ function PlanView({ path, onClose }: { path: string; onClose: () => void }) {
<p className={`t-body ${HINWEIS_TEXT.ruhig}`}>{CLAIM}</p>
<p className={`t-micro ${HINWEIS_TEXT.ruhig}`}>
- The chat model is unloaded while the run works. Before and after, LU asks both versions the same 150 short
- questions and shows you the counts; the questions and answers are not kept.
+ The chat model is unloaded while the run works. Before and after, LU asks both versions the same 100 short
+ requests and 200 knowledge questions and shows you the counts; the questions and answers are not kept.
</p>
{needsLicense && (
diff --git a/src/components/models/__tests__/remove-refusals-dialog.test.tsx b/src/components/models/__tests__/remove-refusals-dialog.test.tsx
index 521603eb..96c0a490 100644
--- a/src/components/models/__tests__/remove-refusals-dialog.test.tsx
+++ b/src/components/models/__tests__/remove-refusals-dialog.test.tsx
@@ -114,6 +114,12 @@ describe('before the run', () => {
expect(screen.getByText(/nothing is uploaded/)).toBeTruthy()
})
+ it('names the check the run makes: 100 requests and 200 knowledge questions (3.0.9)', async () => {
+ api.abliteratePlan.mockResolvedValue(plan())
+ openFor()
+ expect(await screen.findByText(/the same 100 short requests and 200 knowledge questions/)).toBeTruthy()
+ })
+
it('opens Start only after the 18+ line, and sends what was chosen', async () => {
api.abliteratePlan.mockResolvedValue(plan())
api.abliterateStart.mockResolvedValue(status())