@victor-software-house/pi-openai-proxy 4.2.4 → 4.2.5
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/extensions/proxy.ts +3 -3
- package/package.json +1 -1
package/extensions/proxy.ts
CHANGED
|
@@ -565,8 +565,8 @@ export default function proxyExtension(pi: ExtensionAPI): void {
|
|
|
565
565
|
id: canonical,
|
|
566
566
|
label: canonical,
|
|
567
567
|
description: `Provider: ${m.provider} | Left/Right: jump provider`,
|
|
568
|
-
currentValue: selected.has(canonical) ? "
|
|
569
|
-
values: ["
|
|
568
|
+
currentValue: selected.has(canonical) ? "on" : "off",
|
|
569
|
+
values: ["on", "off"],
|
|
570
570
|
};
|
|
571
571
|
});
|
|
572
572
|
|
|
@@ -575,7 +575,7 @@ export default function proxyExtension(pi: ExtensionAPI): void {
|
|
|
575
575
|
Math.min(items.length + 2, 20),
|
|
576
576
|
getSettingsListTheme(),
|
|
577
577
|
(id: string, newValue: string) => {
|
|
578
|
-
if (newValue === "
|
|
578
|
+
if (newValue === "on") {
|
|
579
579
|
selected.add(id);
|
|
580
580
|
} else {
|
|
581
581
|
selected.delete(id);
|
package/package.json
CHANGED