Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(plugin-sdk): keep bootstrap getter safe without arguments

Alfredo Lopez16769d204940
diff --git a/mcp-host/src/workflow/workflowService.ts b/mcp-host/src/workflow/workflowService.ts
index 320c7114b..d9132e34a 100644
--- a/mcp-host/src/workflow/workflowService.ts
+++ b/mcp-host/src/workflow/workflowService.ts
@@ -352,8 +352,8 @@ export class WorkflowService {
* workflow readiness: stepless SDK traffic resolves credentials per attempt
* through the WRC broker rather than loading them into this service.
*/
- configurePluginWorkloadSdkBootstrap(req: PluginWorkloadSdkBootstrapRequest): ConfigureResponse {
- if (!req.provider) {
+ configurePluginWorkloadSdkBootstrap(req?: PluginWorkloadSdkBootstrapRequest): ConfigureResponse {
+ if (!req?.provider) {
return { configured: false, message: 'provider is required' }
}
if (!isLlmProvider(req.provider)) {