π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
chore: drop internal LOBE-13745 issue markers from deferred-init comments (#19803)
Arvin Xub6669d9c8cbc
diff --git a/apps/server/src/services/aiAgent/index.ts b/apps/server/src/services/aiAgent/index.tsindex 35788651591..6be40841faa 100644--- a/apps/server/src/services/aiAgent/index.ts+++ b/apps/server/src/services/aiAgent/index.ts@@ -1174,7 +1174,7 @@ export class AiAgentService {// Stages 5β18 β the run's init: the tool surface, the message/context// assembly, and the human decision a resumed approval turns into the first// context. One call so the same work can later run in the step-0 worker- // instead of on the send path (LOBE-13745).+ // instead of on the send path.const initRequest = buildOperationInitRequest({additionalPluginIds,agentSlug,diff --git a/apps/server/src/services/aiAgent/pipeline/__tests__/operationInit.test.ts b/apps/server/src/services/aiAgent/pipeline/__tests__/operationInit.test.tsindex 6641c38902e..817d01f0faa 100644--- a/apps/server/src/services/aiAgent/pipeline/__tests__/operationInit.test.ts+++ b/apps/server/src/services/aiAgent/pipeline/__tests__/operationInit.test.ts@@ -86,7 +86,7 @@ describe('buildOperationInitRequest', () => {expect('createdAt' in request.approvedToolEntries[0]).toBe(false);});- // A deferred init (LOBE-13745) has to carry this request on the operation+ // A deferred init has to carry this request on the operation// state through Redis, which is JSON. A `Date`, a `Buffer` or a model instance// sneaking into the request would survive the send path and silently degrade// there, so hold the line here instead.diff --git a/apps/server/src/services/aiAgent/pipeline/operationInit.ts b/apps/server/src/services/aiAgent/pipeline/operationInit.tsindex 09cefc3f212..3c9551e9e9d 100644--- a/apps/server/src/services/aiAgent/pipeline/operationInit.ts+++ b/apps/server/src/services/aiAgent/pipeline/operationInit.ts@@ -28,7 +28,7 @@ import type { RunAttachments } from './turnSetup';/*** Everything the init stage reads that is NOT a live object: ids, flags and* already-resolved values. Plain JSON on purpose β an operation that defers its- * init (LOBE-13745) has to carry this on its state through Redis and rebuild the+ * init has to carry this on its state through Redis and rebuild the* live half (models, services, the history loader) in the step-0 worker.** Keep it that way: a `Date`, a `Buffer` or a model instance in here silently@@ -134,7 +134,7 @@ export const buildOperationInitRequest = (** Runs on the send path today. It takes `(deps, ctx, request)` rather than* reading a service instance so the same call can be made from a step-0 worker- * that rebuilt `deps` and `ctx` from the request β see LOBE-13745.+ * that rebuilt `deps` and `ctx` from the request.*/export const runOperationInit = async (deps: OperationInitDeps,diff --git a/apps/server/src/services/aiAgent/pipeline/toolDiscovery.ts b/apps/server/src/services/aiAgent/pipeline/toolDiscovery.tsindex bc0e88692b4..9dd86d6ddbe 100644--- a/apps/server/src/services/aiAgent/pipeline/toolDiscovery.ts+++ b/apps/server/src/services/aiAgent/pipeline/toolDiscovery.ts@@ -142,7 +142,7 @@ export interface ToolDiscoveryInput {/*** Mime types of the raw bot/IM uploads. The stage only ever looked at the* mime type, and keeping the request JSON-safe is what lets a deferred init- * carry it on the operation state (LOBE-13745).+ * carry it on the operation state.*/externalFileTypes?: string[];functionTools?: InternalExecAgentParams['functionTools'];