From 0ef2b78683708f142ca1631abe7d6e2fe72f37e7 Mon Sep 17 00:00:00 2001 From: huanghuoguoguo Date: Sat, 10 Oct 2026 23:55:38 +0800 Subject: [PATCH] feat(api): initialize application API boundary --- src/langbot/pkg/core/stages/build_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/langbot/pkg/core/stages/build_app.py b/src/langbot/pkg/core/stages/build_app.py index 77d8788df..5661a2452 100644 --- a/src/langbot/pkg/core/stages/build_app.py +++ b/src/langbot/pkg/core/stages/build_app.py @@ -52,6 +52,7 @@ from ...cloud.directory_projection import DirectoryProjectionService from ...cloud.entitlements import EntitlementResolver from ...cloud.model_catalog import CloudModelCatalogSyncService from ...api.http.context import ExecutionContext, PrincipalContext, PrincipalType +from ...api.application import ApplicationAPI from ...api.http.authz import WorkspaceRequiredError @@ -115,6 +116,7 @@ class BuildAppStage(stage.BootingStage): pipeline_service_inst = pipeline_service.PipelineService(ap) ap.pipeline_service = pipeline_service_inst + ap.application_api = ApplicationAPI(ap) agent_service_inst = agent_service.AgentService(ap) ap.agent_service = agent_service_inst