Skip to content

Commit b964373

Browse files
authored
Drop granite3-8b from chatbot UI debug UI model list (#1576)
* Drop granite3-8b from chatbot UI debug UI model list * fix npm audit error
1 parent a257c27 commit b964373

File tree

8 files changed

+425
-547
lines changed

8 files changed

+425
-547
lines changed

aap_chatbot/package-lock.json

Lines changed: 40 additions & 492 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aap_chatbot/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@
2626
"@types/react-dom": "^18.3.0",
2727
"@types/uuid": "^10.0.0",
2828
"@vitejs/plugin-react": "^4.3.1",
29-
"axios": "^1.7.7",
29+
"axios": "^1.8.3",
3030
"react": "^18.3.1",
3131
"react-dom": "^18.3.1",
3232
"uuid": "^10.0.0",
3333
"vite": "^6.2.0",
34-
"vite-plugin-clean": "^1.0.0",
3534
"vite-plugin-dts": "^4.5.0",
3635
"web-vitals": "^2.1.4"
3736
},
@@ -86,7 +85,7 @@
8685
"sass-embedded": "^1.79.1",
8786
"typescript": "^5.6.3",
8887
"typescript-eslint": "^8.24.0",
89-
"vite-plugin-clean": "^1.0.0",
88+
"vite-plugin-clean": "^2.0.1",
9089
"vite-plugin-dts": "^4.5.0",
9190
"vitest": "^3.0.7",
9291
"vitest-browser-react": "^0.0.4"

aap_chatbot/src/App.test.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -560,10 +560,11 @@ test("Debug mode test", async () => {
560560
await renderApp(true);
561561
await expect.element(page.getByText("granite3-1-8b")).toBeVisible();
562562
await page.getByText("granite3-1-8b").click();
563-
await expect
564-
.element(page.getByRole("menuitem", { name: "granite3-8b" }))
565-
.toBeVisible();
566-
await page.getByRole("menuitem", { name: "granite3-8b" }).click();
563+
// Comment out following lines for now since granite3-1-8b is the only choice.
564+
// await expect
565+
// .element(page.getByRole("menuitem", { name: "granite3-8b" }))
566+
// .toBeVisible();
567+
// await page.getByRole("menuitem", { name: "granite3-8b" }).click();
567568

568569
await sendMessage("Hello");
569570
await expect

aap_chatbot/src/useChatbot/useChatbot.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const botName =
3131

3232
export const modelsSupported: LLMModel[] = [
3333
{ model: "granite3-1-8b", provider: "my_rhoai_g31" },
34-
{ model: "granite3-8b", provider: "my_rhoai_g3" },
3534
];
3635

3736
export const readCookie = (name: string): string | null => {

0 commit comments

Comments
 (0)