@alvin0/ai-agent-sdk-provider-openai 0.1.9 → 0.1.10

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/README.md +5 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -5,6 +5,10 @@ Runtime: **Universal** (Edge/Worker, browser, Deno, Bun, and Node).
5
5
  Compatible gateways can configure `baseUrl`, `models`, `fetch`, and `headers`
6
6
  (a string record or synchronous function returning one per operation).
7
7
  Generation uses Responses; embedding uses the OpenAI embeddings protocol.
8
+
9
+ Project examples and live generation/decision tests use `gpt-6-luna` as the
10
+ minimum OpenAI model. Select it or a newer model explicitly; do not fall back to
11
+ older models when a request fails. Embedding model selection is separate.
8
12
  The embedding adapter/plugin also supports custom headers.
9
13
  Header names are case-insensitive. A `headers` entry overrides what the SDK
10
14
  would otherwise send for that name (`accept`, `content-type`, `user-agent`,
@@ -94,7 +98,7 @@ add `query` (never for secrets — those belong in `auth`/`apiKey`):
94
98
  ```ts
95
99
  openAiPlugin({
96
100
  id: 'azure-gpt',
97
- baseUrl: 'https://my-res.openai.azure.com/openai/deployments/gpt-5-6',
101
+ baseUrl: 'https://my-res.openai.azure.com/openai/deployments/gpt-6-luna',
98
102
  path: '/chat/completions',
99
103
  api: 'chat-completions',
100
104
  query: { 'api-version': '2026-06-01' },
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "alvin0 - chaulamdinhai",
5
5
  "email": "chaulamdinhai@gmail.com"
6
6
  },
7
- "version": "0.1.9",
7
+ "version": "0.1.10",
8
8
  "description": "Universal OpenAI adapter and provider plugin for ai-agent-sdk",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -38,16 +38,16 @@
38
38
  "provenance": true
39
39
  },
40
40
  "dependencies": {
41
- "@alvin0/ai-agent-sdk-provider-http": "^0.1.9",
42
- "@alvin0/ai-agent-sdk-protocol-responses": "^0.1.9",
43
- "@alvin0/ai-agent-sdk-protocol-openai-chat-completions": "^0.1.9"
41
+ "@alvin0/ai-agent-sdk-provider-http": "^0.1.10",
42
+ "@alvin0/ai-agent-sdk-protocol-responses": "^0.1.10",
43
+ "@alvin0/ai-agent-sdk-protocol-openai-chat-completions": "^0.1.10"
44
44
  },
45
45
  "peerDependencies": {
46
- "@alvin0/ai-agent-sdk-core": "^0.1.9"
46
+ "@alvin0/ai-agent-sdk-core": "^0.1.10"
47
47
  },
48
48
  "devDependencies": {
49
- "@alvin0/ai-agent-sdk-core": "^0.1.9",
50
- "@alvin0/ai-agent-sdk-testkit": "^0.1.9",
49
+ "@alvin0/ai-agent-sdk-core": "^0.1.10",
50
+ "@alvin0/ai-agent-sdk-testkit": "^0.1.10",
51
51
  "@arethetypeswrong/cli": "0.18.5",
52
52
  "playwright": "1.62.1",
53
53
  "publint": "0.3.24",