File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,17 @@ type AgentInstanceCreationResult struct {
7676
7777// LangFlowChatRequest represents a chat request to an agent instance
7878type LangflowChatRequest struct {
79- SessionID * string `json:"session_id,omitempty"` // Optional session ID (client-provided)
80- InputValue string `json:"input_value" binding:"required"` // Input value for the agent
81- InputType string `json:"input_type" binding:"required"` // Type of input (e.g., "chat")
82- OutputType string `json:"output_type" binding:"required"` // Type of output (e.g., "chat")
83- Tweaks json.RawMessage `json:"tweaks,omitempty"` // Optional parameter tweaks
79+ SessionID * string `json:"session_id,omitempty"` // Optional session ID (client-provided)
80+ InputValue string `json:"input_value" binding:"required"` // Input value for the agent
81+ InputType string `json:"input_type" binding:"required"` // Type of input (e.g., "chat")
82+ OutputType string `json:"output_type" binding:"required"` // Type of output (e.g., "chat")
83+ Tweaks json.RawMessage `json:"tweaks,omitempty"` // Optional parameter tweaks
84+ Files []LangflowChatRequestFile `json:"files,omitempty"` // Optional files to upload
85+ }
86+
87+ type LangflowChatRequestFile struct {
88+ URL string `json:"url"`
89+ Name string `json:"name"`
8490}
8591
8692// AgentChatResponse represents the response from an agent chat
You can’t perform that action at this time.
0 commit comments