@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docyrus/docyrus",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "private": false,
5
5
  "description": "Docyrus API CLI",
6
6
  "main": "./main.js",
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
- defaultValue: "2025-04-01-preview",
43168
- placeholder: "2025-04-01-preview"
43171
+ placeholder: "Leave blank to use pi default (v1)"
43169
43172
  }
43170
43173
  ];
43171
43174
  case "amazon-bedrock":