@docyrus/docyrus 0.0.72 → 0.0.73
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/agent-loader.js +7 -4
- package/agent-loader.js.map +2 -2
- package/main.js +8 -17
- package/main.js.map +2 -2
- package/package.json +1 -1
- package/server-loader.js +5 -2
- package/server-loader.js.map +2 -2
package/package.json
CHANGED
package/server-loader.js
CHANGED
|
@@ -18625,6 +18625,7 @@ var import_picocolors2 = __toESM(require_picocolors());
|
|
|
18625
18625
|
// src/agent/envStore.ts
|
|
18626
18626
|
var import_promises = require("node:fs/promises");
|
|
18627
18627
|
var import_node_path = require("node:path");
|
|
18628
|
+
var LEGACY_AZURE_OPENAI_DEFAULT_API_VERSION = "2025-04-01-preview";
|
|
18628
18629
|
function createDefaultState() {
|
|
18629
18630
|
return {
|
|
18630
18631
|
version: 1,
|
|
@@ -18639,6 +18640,9 @@ function normalizeState(state) {
|
|
|
18639
18640
|
if (!normalizedKey || !normalizedValue) {
|
|
18640
18641
|
continue;
|
|
18641
18642
|
}
|
|
18643
|
+
if (normalizedKey === "AZURE_OPENAI_API_VERSION" && normalizedValue === LEGACY_AZURE_OPENAI_DEFAULT_API_VERSION) {
|
|
18644
|
+
continue;
|
|
18645
|
+
}
|
|
18642
18646
|
values[normalizedKey] = normalizedValue;
|
|
18643
18647
|
}
|
|
18644
18648
|
return {
|
|
@@ -43164,8 +43168,7 @@ function getProviderFormFields(params) {
|
|
|
43164
43168
|
name: "apiVersion",
|
|
43165
43169
|
title: "API version",
|
|
43166
43170
|
component: "text",
|
|
43167
|
-
|
|
43168
|
-
placeholder: "2025-04-01-preview"
|
|
43171
|
+
placeholder: "Leave blank to use pi default (v1)"
|
|
43169
43172
|
}
|
|
43170
43173
|
];
|
|
43171
43174
|
case "amazon-bedrock":
|