@adaptic/lumic-utils 1.0.26 → 1.0.28
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/dist/{apollo-client.client-CtjgIfRT.js → apollo-client.client-CzTlfziA.js} +3 -3
- package/dist/{apollo-client.client-CtjgIfRT.js.map → apollo-client.client-CzTlfziA.js.map} +1 -1
- package/dist/{apollo-client.client-Uv0-ZrFd.js → apollo-client.client-KzZx5slz.js} +4 -4
- package/dist/{apollo-client.client-Uv0-ZrFd.js.map → apollo-client.client-KzZx5slz.js.map} +1 -1
- package/dist/{apollo-client.server-DaXmxoBl.js → apollo-client.server-Bv2rQsCw.js} +3 -3
- package/dist/{apollo-client.server-DaXmxoBl.js.map → apollo-client.server-Bv2rQsCw.js.map} +1 -1
- package/dist/{apollo-client.server-JYHXy9ib.js → apollo-client.server-DQPc4Iam.js} +3 -3
- package/dist/{apollo-client.server-JYHXy9ib.js.map → apollo-client.server-DQPc4Iam.js.map} +1 -1
- package/dist/{index-Bu-2kk3p.js → index-Cjy8RH6E.js} +2 -2
- package/dist/{index-Bu-2kk3p.js.map → index-Cjy8RH6E.js.map} +1 -1
- package/dist/{index-DgFDhFuO.js → index-FqzV71J4.js} +52 -4
- package/dist/{index-z7Y1nTVX.js.map → index-FqzV71J4.js.map} +1 -1
- package/dist/{index-z7Y1nTVX.js → index-I-0uzUiF.js} +52 -4
- package/dist/{index-DgFDhFuO.js.map → index-I-0uzUiF.js.map} +1 -1
- package/dist/{index-HopiPnjc.js → index-QMP2OpYn.js} +2 -2
- package/dist/{index-HopiPnjc.js.map → index-QMP2OpYn.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/test.cjs +1 -1
- package/dist/test.mjs +1 -1
- package/dist/types/types/openai-types.d.ts +37 -1
- package/package.json +1 -1
|
@@ -99,7 +99,38 @@ const OPENAI_COMPATIBLE_PROVIDERS = {
|
|
|
99
99
|
* Supported models with their capabilities
|
|
100
100
|
*/
|
|
101
101
|
const SUPPORTED_MODELS = {
|
|
102
|
-
// ── OpenAI GPT-5.
|
|
102
|
+
// ── OpenAI GPT-5.6 series (current flagship) ─────────────────────────
|
|
103
|
+
// sol / terra / luna are the 2026 flagship trio (developers.openai.com/
|
|
104
|
+
// api/docs/models/all). Same GPT-5.x API surface + the temperature
|
|
105
|
+
// constraint documented below.
|
|
106
|
+
'gpt-5.6-sol': {
|
|
107
|
+
provider: 'openai',
|
|
108
|
+
supportsTools: true,
|
|
109
|
+
supportsJson: true,
|
|
110
|
+
supportsStructuredOutput: true,
|
|
111
|
+
supportsDeveloperPrompt: true,
|
|
112
|
+
supportsTemperature: false,
|
|
113
|
+
isReasoningModel: false,
|
|
114
|
+
},
|
|
115
|
+
'gpt-5.6-terra': {
|
|
116
|
+
provider: 'openai',
|
|
117
|
+
supportsTools: true,
|
|
118
|
+
supportsJson: true,
|
|
119
|
+
supportsStructuredOutput: true,
|
|
120
|
+
supportsDeveloperPrompt: true,
|
|
121
|
+
supportsTemperature: false,
|
|
122
|
+
isReasoningModel: false,
|
|
123
|
+
},
|
|
124
|
+
'gpt-5.6-luna': {
|
|
125
|
+
provider: 'openai',
|
|
126
|
+
supportsTools: true,
|
|
127
|
+
supportsJson: true,
|
|
128
|
+
supportsStructuredOutput: true,
|
|
129
|
+
supportsDeveloperPrompt: true,
|
|
130
|
+
supportsTemperature: false,
|
|
131
|
+
isReasoningModel: false,
|
|
132
|
+
},
|
|
133
|
+
// ── OpenAI GPT-5.5 series ────────────────────────────────────────────
|
|
103
134
|
// GPT-5.x series: OpenAI's 2026 API constraint — only the default
|
|
104
135
|
// temperature value (1.0) is accepted. Passing any other value returns
|
|
105
136
|
// HTTP 400: "Unsupported value: 'temperature' does not support 0.2 with
|
|
@@ -154,6 +185,15 @@ const SUPPORTED_MODELS = {
|
|
|
154
185
|
supportsTemperature: false,
|
|
155
186
|
isReasoningModel: false,
|
|
156
187
|
},
|
|
188
|
+
'gpt-5.4-pro': {
|
|
189
|
+
provider: 'openai',
|
|
190
|
+
supportsTools: true,
|
|
191
|
+
supportsJson: true,
|
|
192
|
+
supportsStructuredOutput: true,
|
|
193
|
+
supportsDeveloperPrompt: true,
|
|
194
|
+
supportsTemperature: false,
|
|
195
|
+
isReasoningModel: false,
|
|
196
|
+
},
|
|
157
197
|
// ── OpenAI GPT-5 series ──────────────────────────────────────────────
|
|
158
198
|
'gpt-5': {
|
|
159
199
|
provider: 'openai',
|
|
@@ -574,6 +614,14 @@ function getModelProvider(model) {
|
|
|
574
614
|
* Default model tiers per provider for use with LLM_MODEL_MINI/NORMAL/ADVANCED env vars
|
|
575
615
|
*/
|
|
576
616
|
const PROVIDER_DEFAULT_MODELS = {
|
|
617
|
+
// advanced pins to gpt-5.5, NOT the newer gpt-5.6-sol, deliberately: gpt-5.6-sol is a
|
|
618
|
+
// reasoning model and OpenAI rejects function tools on /v1/chat/completions for it
|
|
619
|
+
// ("Function tools with reasoning_effort are not supported for gpt-5.6-sol in
|
|
620
|
+
// /v1/chat/completions") — it requires the Responses API. Consumers that call
|
|
621
|
+
// makeOpenAIChatCompletionCall WITH tools (e.g. the engine's decision path) 400 on
|
|
622
|
+
// every call. gpt-5.6-sol/terra/luna remain REGISTERED in SUPPORTED_MODELS for when a
|
|
623
|
+
// Responses-API routing path lands; until then the advanced (tool-calling) tier pins
|
|
624
|
+
// to gpt-5.5 — the newest model compatible with chat-completions + function tools.
|
|
577
625
|
openai: { mini: 'gpt-5.4-nano', normal: 'gpt-5.4-mini', advanced: 'gpt-5.5' },
|
|
578
626
|
anthropic: { mini: 'claude-haiku-4-5', normal: 'claude-sonnet-4-6', advanced: 'claude-opus-4-7' },
|
|
579
627
|
deepseek: { mini: 'deepseek-v4-flash', normal: 'deepseek-v4-flash', advanced: 'deepseek-v4-pro' },
|
|
@@ -23183,11 +23231,11 @@ let poolConfig = DEFAULT_POOL_CONFIG;
|
|
|
23183
23231
|
async function loadApolloModules() {
|
|
23184
23232
|
if (typeof window === "undefined" || process.env.AWS_EXECUTION_ENV) {
|
|
23185
23233
|
// Server-side (or Lambda): load the CommonJS‑based implementation.
|
|
23186
|
-
return (await Promise.resolve().then(function () { return require('./apollo-client.server-
|
|
23234
|
+
return (await Promise.resolve().then(function () { return require('./apollo-client.server-DQPc4Iam.js'); }));
|
|
23187
23235
|
}
|
|
23188
23236
|
else {
|
|
23189
23237
|
// Client-side: load the ESM‑based implementation.
|
|
23190
|
-
return (await Promise.resolve().then(function () { return require('./apollo-client.client-
|
|
23238
|
+
return (await Promise.resolve().then(function () { return require('./apollo-client.client-CzTlfziA.js'); }));
|
|
23191
23239
|
}
|
|
23192
23240
|
}
|
|
23193
23241
|
/**
|
|
@@ -81898,4 +81946,4 @@ exports.withCorrelationId = withCorrelationId;
|
|
|
81898
81946
|
exports.withMetrics = withMetrics;
|
|
81899
81947
|
exports.withRateLimit = withRateLimit;
|
|
81900
81948
|
exports.withRetry = withRetry;
|
|
81901
|
-
//# sourceMappingURL=index-
|
|
81949
|
+
//# sourceMappingURL=index-FqzV71J4.js.map
|