@opengeni/worker-bundle 0.26.0-canary.6 → 0.27.0-canary.0

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.
@@ -1190,8 +1190,7 @@ function createGoalActivities(services) {
1190
1190
  const modelDecision = goalContinuationModelDecision({
1191
1191
  settings,
1192
1192
  workspaceModelPolicy,
1193
- inheritedModel: inheritedContinuationModel,
1194
- sessionModel: session.model
1193
+ inheritedModel: inheritedContinuationModel
1195
1194
  });
1196
1195
  continuationModel = modelDecision.model;
1197
1196
  let modelPolicyBlocked = modelDecision.blocked;
@@ -1284,11 +1283,8 @@ function goalContinuationModelDecision(input) {
1284
1283
  providerId: policyProviderIdForModel(catalogSettings, modelId),
1285
1284
  modelId
1286
1285
  }).allowed;
1287
- const candidates = [.../* @__PURE__ */ new Set([input.inheritedModel, input.sessionModel])];
1288
- for (const model of candidates) {
1289
- if (resolveModelProvider(catalogSettings, model) && !policyBlocks(model)) {
1290
- return { model, blocked: null };
1291
- }
1286
+ if (resolveModelProvider(catalogSettings, input.inheritedModel) && !policyBlocks(input.inheritedModel)) {
1287
+ return { model: input.inheritedModel, blocked: null };
1292
1288
  }
1293
1289
  if (!resolveModelProvider(catalogSettings, input.inheritedModel)) {
1294
1290
  return {
@@ -6170,4 +6166,4 @@ export {
6170
6166
  codexUsageLimitFailurePayload,
6171
6167
  CODEX_USAGE_LIMIT_MAX_RESUME_MS
6172
6168
  };
6173
- //# sourceMappingURL=chunk-O2LQWJIK.js.map
6169
+ //# sourceMappingURL=chunk-7LS42PHP.js.map