Skip to content

Commit

Permalink
Correct Granite 3.1 model name (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
TamiTakamiya authored Jan 13, 2025
1 parent 8e9a67c commit 845ffef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ansible_ai_connect_chatbot/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ test("Debug mode test", async () => {
.element(view.getByRole("menuitem", { name: "granite3-8b" }))
.toBeTruthy();
await expect
.element(view.getByRole("menuitem", { name: "granite31-8b" }))
.element(view.getByRole("menuitem", { name: "granite3-1-8b" }))
.toBeTruthy();
await view.getByRole("menuitem", { name: "granite31-8b" }).click();
await view.getByRole("menuitem", { name: "granite3-1-8b" }).click();

await sendMessage("Hello");
await expect
Expand Down
2 changes: 1 addition & 1 deletion ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const botName =

export const modelsSupported: LLMModel[] = [
{ model: "granite3-8b", provider: "my_rhoai_g3" },
{ model: "granite31-8b", provider: "my_rhoai_g31" },
{ model: "granite3-1-8b", provider: "my_rhoai_g31" },
];

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

0 comments on commit 845ffef

Please sign in to comment.