[Update] UI: Add Plamo, OpenAI and Gemini authentication key components and integrate them into the Translation section.

This commit is contained in:
Sakamoto Shiina
2025-11-14 09:40:25 +09:00
parent 3105df3486
commit 11c16fadbd
4 changed files with 324 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
import * as stores from "@store";
import { useStdoutToPython } from "@useStdoutToPython";
import { useNotificationStatus } from "@logics_common";
import { arrayToObject } from "@utils";
import { arrayToObject, arrayToIdLabel } from "@utils";
const transformResponse = (transformName, payload) => {
if (!transformName) return payload;
@@ -9,6 +9,8 @@ const transformResponse = (transformName, payload) => {
switch (transformName) {
case "arrayToObject":
return arrayToObject(payload);
case "arrayToIdLabel":
return arrayToIdLabel(payload);
default:
return payload;
}