@uniqueli/openwork 0.2.0 β 0.2.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/README.md
CHANGED
|
@@ -100,6 +100,11 @@ See [CUSTOM_API.md](CUSTOM_API.md) for detailed instructions.
|
|
|
100
100
|
|
|
101
101
|
## Changelog
|
|
102
102
|
|
|
103
|
+
### v0.2.1 (2026-01-19)
|
|
104
|
+
- π **Critical Fix**: Fixed "Missing credentials" error for users without OpenAI API key
|
|
105
|
+
- π§ Custom API now works correctly even when OPENAI_API_KEY is not set in environment
|
|
106
|
+
- π Improved logging for debugging custom API configurations
|
|
107
|
+
|
|
103
108
|
### v0.2.0 (2026-01-18)
|
|
104
109
|
- β¨ **Multiple Custom API Providers**: Add unlimited custom providers via UI
|
|
105
110
|
- π¨ **Improved UX**: One-click provider addition with "+ ζ·»ε Provider" button
|
package/out/main/index.js
CHANGED
|
@@ -1356,6 +1356,10 @@ function getModelInstance(modelId) {
|
|
|
1356
1356
|
cleanApiKeyLength: cleanApiKey?.length,
|
|
1357
1357
|
apiKeyPrefix: cleanApiKey?.substring(0, 10)
|
|
1358
1358
|
});
|
|
1359
|
+
if (cleanApiKey) {
|
|
1360
|
+
process.env.OPENAI_API_KEY = cleanApiKey;
|
|
1361
|
+
console.log("[Runtime] Set OPENAI_API_KEY environment variable for deepagents compatibility");
|
|
1362
|
+
}
|
|
1359
1363
|
try {
|
|
1360
1364
|
const chatModel = new openai.ChatOpenAI({
|
|
1361
1365
|
model: matchingConfig.model || model,
|
|
@@ -76871,7 +76871,7 @@ function App() {
|
|
|
76871
76871
|
},
|
|
76872
76872
|
children: [
|
|
76873
76873
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "app-badge-name", children: "OPENWORK" }),
|
|
76874
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "app-badge-version", children: "0.2.
|
|
76874
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "app-badge-version", children: "0.2.1" })
|
|
76875
76875
|
]
|
|
76876
76876
|
}
|
|
76877
76877
|
),
|
package/out/renderer/index.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
http-equiv="Content-Security-Policy"
|
|
8
8
|
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
|
|
9
9
|
/>
|
|
10
|
-
<script type="module" crossorigin src="./assets/index-
|
|
10
|
+
<script type="module" crossorigin src="./assets/index-BPV5Z3ZG.js"></script>
|
|
11
11
|
<link rel="stylesheet" crossorigin href="./assets/index-BtAM3QNQ.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|