@adaptic/lumic-utils 1.0.27 → 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.
@@ -614,7 +614,15 @@ function getModelProvider(model) {
614
614
  * Default model tiers per provider for use with LLM_MODEL_MINI/NORMAL/ADVANCED env vars
615
615
  */
616
616
  const PROVIDER_DEFAULT_MODELS = {
617
- openai: { mini: 'gpt-5.4-nano', normal: 'gpt-5.4-mini', advanced: 'gpt-5.6-sol' },
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.
625
+ openai: { mini: 'gpt-5.4-nano', normal: 'gpt-5.4-mini', advanced: 'gpt-5.5' },
618
626
  anthropic: { mini: 'claude-haiku-4-5', normal: 'claude-sonnet-4-6', advanced: 'claude-opus-4-7' },
619
627
  deepseek: { mini: 'deepseek-v4-flash', normal: 'deepseek-v4-flash', advanced: 'deepseek-v4-pro' },
620
628
  kimi: { mini: 'kimi-k2-0905-preview', normal: 'kimi-k2.5', advanced: 'kimi-k2.6' },
@@ -23223,11 +23231,11 @@ let poolConfig = DEFAULT_POOL_CONFIG;
23223
23231
  async function loadApolloModules() {
23224
23232
  if (typeof window === "undefined" || process.env.AWS_EXECUTION_ENV) {
23225
23233
  // Server-side (or Lambda): load the CommonJS‑based implementation.
23226
- return (await Promise.resolve().then(function () { return require('./apollo-client.server-2zi9dbLa.js'); }));
23234
+ return (await Promise.resolve().then(function () { return require('./apollo-client.server-DQPc4Iam.js'); }));
23227
23235
  }
23228
23236
  else {
23229
23237
  // Client-side: load the ESM‑based implementation.
23230
- return (await Promise.resolve().then(function () { return require('./apollo-client.client-DD13VF_T.js'); }));
23238
+ return (await Promise.resolve().then(function () { return require('./apollo-client.client-CzTlfziA.js'); }));
23231
23239
  }
23232
23240
  }
23233
23241
  /**
@@ -81938,4 +81946,4 @@ exports.withCorrelationId = withCorrelationId;
81938
81946
  exports.withMetrics = withMetrics;
81939
81947
  exports.withRateLimit = withRateLimit;
81940
81948
  exports.withRetry = withRetry;
81941
- //# sourceMappingURL=index-zDK1X6HR.js.map
81949
+ //# sourceMappingURL=index-FqzV71J4.js.map