@namzu/openai 4.1.3 → 4.1.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 023224a: A failed OpenAI or Google request now reaches the host with the provider's own type, code, parameter and request ID, as an Anthropic failure already did, so Details read "Status: 403 · Provider said: “…” · Type: invalid*request_error · Code: model_not_found" with "Request ID: …" on its own line. The error's `detail` for a vendor SDK error whose message is only a sentence is now a JSON body of those fields (`{"error":{"message","type","code","param"},"request_id"}`) instead of the bare sentence; read `providerCode` or the `Details` of a host rather than matching the sentence text. The Google driver now reads its refusal body and request-ID header. The vendor project line in Details reads "Project: proj*…".
8
+
3
9
  ## 4.1.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namzu/openai",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "OpenAI API-key and ChatGPT subscription providers for @namzu/sdk, with streaming and tool use.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "engines": {
@@ -57,7 +57,7 @@
57
57
  "@types/node": "^22.19.17",
58
58
  "typescript": "^5.5.0",
59
59
  "vitest": "^4.1.11",
60
- "@namzu/sdk": "^48.0.0"
60
+ "@namzu/sdk": "^50.0.0"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "tsc --build",