Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/server/src/utils/buildAgentflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ const executeNode = async ({
}

// Get available variables and resolve them
const availableVariables = await appDataSource.getRepository(Variable).find({ where: { userId: user.id } })
const availableVariables = !user ? [] : await appDataSource.getRepository(Variable).find({ where: { userId: user.id } })

// Prepare flow config
let updatedState = cloneDeep(agentflowRuntime.state)
Expand Down
Loading