proxy runtime to get this thing now

the merge is still merging
This commit is contained in:
lda
2026-05-13 18:44:32 +07:00 Verified
parent 7723d8558e
commit 92f5ca1755
6 changed files with 94 additions and 9 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ def create_unified_proxy_server(
admin_tools: bool = True,
) -> FastMCP[Any]:
"""Create one MCP server with upstream proxy, admin, and workflow tools."""
service = build_service_from_config(config)
runtime = TransparentProxyRuntime(
config,
config_path=config_path,
@@ -31,8 +32,8 @@ def create_unified_proxy_server(
prompts_as_tools=prompts_as_tools,
search_tools=search_tools,
admin_tools=admin_tools,
event_bus=service.event_bus,
)
service = build_service_from_config(config)
_register_workflow_tools(runtime.server, WorkflowSurfaceHandlers(service))
return runtime.server