Skip to content

AgentFlow: Support multipart/form-data (file + fields) in Prediction API and map fields into $vars #5182

@lokii2024

Description

@lokii2024

Summary

When using AgentFlows (self-hosted Flowise), I need to send a file upload along with extra input values (e.g., process_id, project_id, project_type). Right now, the Prediction API only works with JSON (uploads[] + variables). If a client can only send multipart/form-data, the flow cannot consume both file and fields without writing a custom variables.

Howt to pass this custom variables and custom or this custom variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions