@victor-software-house/pi-openai-proxy 0.1.0 → 0.1.1
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 +2 -2
- package/package.json +1 -1
package/extensions/proxy.ts
CHANGED
|
@@ -137,7 +137,7 @@ export default function proxyExtension(pi: ExtensionAPI) {
|
|
|
137
137
|
proxyProcess.on("exit", (code) => {
|
|
138
138
|
proxyProcess = undefined;
|
|
139
139
|
if (code !== null && code !== 0) {
|
|
140
|
-
ctx.ui.notify(`Proxy exited with code ${String(code)}`, "
|
|
140
|
+
ctx.ui.notify(`Proxy exited with code ${String(code)}`, "warning");
|
|
141
141
|
}
|
|
142
142
|
ctx.ui.setStatus("proxy", undefined);
|
|
143
143
|
});
|
|
@@ -156,7 +156,7 @@ export default function proxyExtension(pi: ExtensionAPI) {
|
|
|
156
156
|
"info",
|
|
157
157
|
);
|
|
158
158
|
} else {
|
|
159
|
-
ctx.ui.notify(`Proxy spawned but not yet reachable at ${proxyUrl}`, "
|
|
159
|
+
ctx.ui.notify(`Proxy spawned but not yet reachable at ${proxyUrl}`, "warning");
|
|
160
160
|
}
|
|
161
161
|
await refreshStatus(ctx);
|
|
162
162
|
} catch (err: unknown) {
|