@adaptic/lumic-utils 1.0.22 → 1.0.23
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-Bu5mc2I8.js → apollo-client.client-DrSy1wz-.js} +4 -4
- package/dist/{apollo-client.client-Bu5mc2I8.js.map → apollo-client.client-DrSy1wz-.js.map} +1 -1
- package/dist/{apollo-client.client-YzlpL7kf.js → apollo-client.client-FeVPHV0i.js} +3 -3
- package/dist/{apollo-client.client-YzlpL7kf.js.map → apollo-client.client-FeVPHV0i.js.map} +1 -1
- package/dist/{apollo-client.server-BTHAQqYl.js → apollo-client.server-BEGHAF48.js} +3 -3
- package/dist/{apollo-client.server-BTHAQqYl.js.map → apollo-client.server-BEGHAF48.js.map} +1 -1
- package/dist/{apollo-client.server-sD1QteQO.js → apollo-client.server-CJ6iRLa2.js} +3 -3
- package/dist/{apollo-client.server-sD1QteQO.js.map → apollo-client.server-CJ6iRLa2.js.map} +1 -1
- package/dist/{index-DPaCMqua.js → index-CWoI2dXN.js} +18 -10
- package/dist/{index-DfuMX-MS.js.map → index-CWoI2dXN.js.map} +1 -1
- package/dist/{index-CWx6sW9a.js → index-Dz0wKyTF.js} +2 -2
- package/dist/{index-CWx6sW9a.js.map → index-Dz0wKyTF.js.map} +1 -1
- package/dist/{index-DfuMX-MS.js → index-WGzi__C5.js} +18 -10
- package/dist/{index-DPaCMqua.js.map → index-WGzi__C5.js.map} +1 -1
- package/dist/{index-B_4Q2noT.js → index-vRskhk1H.js} +2 -2
- package/dist/{index-B_4Q2noT.js.map → index-vRskhk1H.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 +7 -7
- package/package.json +1 -1
|
@@ -80,13 +80,21 @@ const OPENAI_COMPATIBLE_PROVIDERS = {
|
|
|
80
80
|
*/
|
|
81
81
|
const SUPPORTED_MODELS = {
|
|
82
82
|
// ── OpenAI GPT-5.5 series (current flagship) ─────────────────────────
|
|
83
|
+
// GPT-5.x series: OpenAI's 2026 API constraint — only the default
|
|
84
|
+
// temperature value (1.0) is accepted. Passing any other value returns
|
|
85
|
+
// HTTP 400: "Unsupported value: 'temperature' does not support 0.2 with
|
|
86
|
+
// this model. Only the default (1) value is supported." Mark
|
|
87
|
+
// supportsTemperature=false so the lumic-utils gate at llm-call.ts:194
|
|
88
|
+
// OMITS the parameter entirely (OpenAI then uses its default of 1.0).
|
|
89
|
+
// Ref: community.openai.com/t/temperature-in-gpt-5-models/1337133
|
|
90
|
+
// Ref: developers.openai.com/api/docs/models/gpt-5.4-nano
|
|
83
91
|
'gpt-5.5': {
|
|
84
92
|
provider: 'openai',
|
|
85
93
|
supportsTools: true,
|
|
86
94
|
supportsJson: true,
|
|
87
95
|
supportsStructuredOutput: true,
|
|
88
96
|
supportsDeveloperPrompt: true,
|
|
89
|
-
supportsTemperature:
|
|
97
|
+
supportsTemperature: false,
|
|
90
98
|
isReasoningModel: false,
|
|
91
99
|
},
|
|
92
100
|
'gpt-5.5-pro': {
|
|
@@ -95,7 +103,7 @@ const SUPPORTED_MODELS = {
|
|
|
95
103
|
supportsJson: true,
|
|
96
104
|
supportsStructuredOutput: true,
|
|
97
105
|
supportsDeveloperPrompt: true,
|
|
98
|
-
supportsTemperature:
|
|
106
|
+
supportsTemperature: false,
|
|
99
107
|
isReasoningModel: false,
|
|
100
108
|
},
|
|
101
109
|
// ── OpenAI GPT-5.4 series ────────────────────────────────────────────
|
|
@@ -105,7 +113,7 @@ const SUPPORTED_MODELS = {
|
|
|
105
113
|
supportsJson: true,
|
|
106
114
|
supportsStructuredOutput: true,
|
|
107
115
|
supportsDeveloperPrompt: true,
|
|
108
|
-
supportsTemperature:
|
|
116
|
+
supportsTemperature: false,
|
|
109
117
|
isReasoningModel: false,
|
|
110
118
|
},
|
|
111
119
|
'gpt-5.4-mini': {
|
|
@@ -114,7 +122,7 @@ const SUPPORTED_MODELS = {
|
|
|
114
122
|
supportsJson: true,
|
|
115
123
|
supportsStructuredOutput: true,
|
|
116
124
|
supportsDeveloperPrompt: true,
|
|
117
|
-
supportsTemperature:
|
|
125
|
+
supportsTemperature: false,
|
|
118
126
|
isReasoningModel: false,
|
|
119
127
|
},
|
|
120
128
|
'gpt-5.4-nano': {
|
|
@@ -123,7 +131,7 @@ const SUPPORTED_MODELS = {
|
|
|
123
131
|
supportsJson: true,
|
|
124
132
|
supportsStructuredOutput: true,
|
|
125
133
|
supportsDeveloperPrompt: true,
|
|
126
|
-
supportsTemperature:
|
|
134
|
+
supportsTemperature: false,
|
|
127
135
|
isReasoningModel: false,
|
|
128
136
|
},
|
|
129
137
|
// ── OpenAI GPT-5 series ──────────────────────────────────────────────
|
|
@@ -133,7 +141,7 @@ const SUPPORTED_MODELS = {
|
|
|
133
141
|
supportsJson: true,
|
|
134
142
|
supportsStructuredOutput: true,
|
|
135
143
|
supportsDeveloperPrompt: true,
|
|
136
|
-
supportsTemperature:
|
|
144
|
+
supportsTemperature: false,
|
|
137
145
|
isReasoningModel: false,
|
|
138
146
|
},
|
|
139
147
|
'gpt-5-mini': {
|
|
@@ -142,7 +150,7 @@ const SUPPORTED_MODELS = {
|
|
|
142
150
|
supportsJson: true,
|
|
143
151
|
supportsStructuredOutput: true,
|
|
144
152
|
supportsDeveloperPrompt: true,
|
|
145
|
-
supportsTemperature:
|
|
153
|
+
supportsTemperature: false,
|
|
146
154
|
isReasoningModel: false,
|
|
147
155
|
},
|
|
148
156
|
// ── OpenAI GPT-4.1 series ────────────────────────────────────────────
|
|
@@ -22989,11 +22997,11 @@ let poolConfig = DEFAULT_POOL_CONFIG;
|
|
|
22989
22997
|
async function loadApolloModules() {
|
|
22990
22998
|
if (typeof window === "undefined" || process.env.AWS_EXECUTION_ENV) {
|
|
22991
22999
|
// Server-side (or Lambda): load the CommonJS‑based implementation.
|
|
22992
|
-
return (await import('./apollo-client.server-
|
|
23000
|
+
return (await import('./apollo-client.server-CJ6iRLa2.js'));
|
|
22993
23001
|
}
|
|
22994
23002
|
else {
|
|
22995
23003
|
// Client-side: load the ESM‑based implementation.
|
|
22996
|
-
return (await import('./apollo-client.client-
|
|
23004
|
+
return (await import('./apollo-client.client-DrSy1wz-.js'));
|
|
22997
23005
|
}
|
|
22998
23006
|
}
|
|
22999
23007
|
/**
|
|
@@ -81517,4 +81525,4 @@ const lumic = {
|
|
|
81517
81525
|
};
|
|
81518
81526
|
|
|
81519
81527
|
export { GraphQLInterfaceType as $, print as A, getNamedType as B, isInputType as C, isRequiredArgument as D, isNamedType as E, GraphQLError as F, GraphQLNonNull as G, isOutputType as H, isRequiredInputField as I, isCompositeType as J, Kind as K, getNullableType as L, getEnterLeaveForKind as M, isNode as N, OperationTypeNode as O, didYouMean as P, naturalCompare as Q, suggestionList as R, specifiedScalarTypes as S, keyMap as T, isType as U, isNullableType as V, visit as W, visitInParallel as X, keyValMap as Y, assertObjectType as Z, GraphQLScalarType as _, isListType as a, validateGoogleSheetsRange as a$, GraphQLUnionType as a0, GraphQLInputObjectType as a1, assertNullableType as a2, assertInterfaceType as a3, mapValue as a4, isSpecifiedScalarType as a5, isPrintableAsBlockString as a6, printBlockString as a7, BREAK as a8, GRAPHQL_MAX_INT as a9, printSourceLocation as aA, resolveObjMapThunk as aB, resolveReadonlyArrayThunk as aC, valueFromASTUntyped as aD, version$4 as aE, versionInfo as aF, getAugmentedNamespace as aG, isDigit$1 as aH, isNameStart as aI, dedentBlockStringLines as aJ, isNameContinue as aK, setLumicLogger as aL, getLumicLogger as aM, sanitizeForLog as aN, sanitizeError as aO, sanitizeAWSAuth as aP, sanitizeObject as aQ, getSecrets as aR, resetSecrets as aS, requireSecret as aT, withRetry as aU, CircuitBreaker as aV, CircuitBreakerState as aW, CircuitBreakerOpenError as aX, DEFAULT_CIRCUIT_BREAKER_CONFIG as aY, validateSlackChannel as aZ, validateS3Key as a_, GRAPHQL_MIN_INT as aa, GraphQLFloat as ab, GraphQLInt as ac, Location as ad, Token as ae, assertAbstractType as af, assertCompositeType as ag, assertEnumType as ah, assertEnumValueName as ai, assertInputObjectType as aj, assertInputType as ak, assertLeafType as al, assertListType as am, assertNamedType as an, assertNonNullType as ao, assertOutputType as ap, assertScalarType as aq, assertType as ar, assertUnionType as as, assertWrappingType as at, formatError as au, getLocation as av, getVisitFn as aw, isWrappingType as ax, printError as ay, printLocation as az, isAbstractType as b, PDFError as b$, LLMCostTracker as b0, getLLMCostTracker as b1, setLLMCostTracker as b2, resetLLMCostTracker as b3, setMetricsCollector as b4, getMetricsCollector as b5, resetMetricsCollector as b6, withMetrics as b7, generateCorrelationId as b8, getCorrelationId as b9, openAIChatCompletionSchema as bA, openAIImageResponseSchema as bB, validateOpenAIChatCompletion as bC, safeValidateOpenAIChatCompletion as bD, perplexityResponseSchema as bE, validatePerplexityResponse as bF, safeValidatePerplexityResponse as bG, googleSheetsValueRangeSchema as bH, validateGoogleSheetsResponse as bI, safeValidateGoogleSheetsResponse as bJ, s3ListObjectsSchema as bK, s3GetObjectSchema as bL, lambdaInvokeResponseSchema as bM, validateS3ListObjects as bN, safeValidateS3ListObjects as bO, validateLambdaResponse as bP, safeValidateLambdaResponse as bQ, createValidator as bR, createSafeValidator as bS, LumicError as bT, SlackError as bU, LLMError as bV, AWSLambdaError as bW, AWSS3Error as bX, GoogleSheetsError as bY, PerplexityError as bZ, JsonParseError as b_, getCorrelationContext as ba, withCorrelationId as bb, getCorrelationHeaders as bc, TokenBucketRateLimiter as bd, RATE_LIMIT_PROFILES as be, getRateLimiter as bf, resetAllRateLimiters as bg, withRateLimit as bh, checkIntegrationHealth as bi, SUPPORTED_MODELS as bj, isValidModel as bk, getModelCapabilities as bl, getModelProvider as bm, MODEL_ALIASES as bn, OPENAI_COMPATIBLE_PROVIDERS as bo, PROVIDER_DEFAULT_MODELS as bp, LLM_DEFAULT_PROVIDER as bq, LLM_MINI_PROVIDER as br, LLM_NORMAL_PROVIDER as bs, LLM_ADVANCED_PROVIDER as bt, LLM_PROVIDER as bu, LLM_MODEL_MINI as bv, LLM_MODEL_NORMAL as bw, LLM_MODEL_ADVANCED as bx, makeAnthropicCall as by, makeOpenAICompatibleCall as bz, isInterfaceType as c, ZipError as c0, SLACK_TIMEOUT_MS as c1, PERPLEXITY_TIMEOUT_MS as c2, GOOGLE_SHEETS_TIMEOUT_MS as c3, LLM_TIMEOUT_MS as c4, AWS_LAMBDA_TIMEOUT_MS as c5, AWS_S3_TIMEOUT_MS as c6, OPENWEATHER_TIMEOUT_MS as c7, GENERIC_FETCH_TIMEOUT_MS as c8, isObjectType as d, assertName as e, devAssert as f, isObjectLike as g, defineArguments as h, isNonNullType as i, argsToArgsConfig as j, GraphQLBoolean as k, lumic as l, GraphQLString as m, instanceOf as n, inspect as o, isInputObjectType as p, isLeafType as q, isEnumType as r, GraphQLID as s, toObjMap as t, invariant as u, GraphQLObjectType as v, GraphQLEnumType as w, GraphQLList as x, isScalarType as y, isUnionType as z };
|
|
81520
|
-
//# sourceMappingURL=index-
|
|
81528
|
+
//# sourceMappingURL=index-CWoI2dXN.js.map
|