Skip to content

Allow literal specification of inputs to DeterministicStepComponent

Problem to solve

Currently, in the Flow Registry, DeterministicStepComponent can only be given tool arguments through state parameters like this:

version: "experimental"
environment: remote
components:
   - name: "run_thingy"
     type: DeterministicStepComponent
     inputs:
       - from: "context:goal"
         as: "contents"
       - from: "context:goal"
         as: "file_path"
     tool_name: "create_file_with_contents"
     toolset: ["create_file_with_contents"]
routers:
   - from: "run_thingy"
     to: "end"
flow:
   entry_point: "run_thingy"

It would be useful to add the ability to specify a literal value for a parameter, something like:

       - from: "test123.txt"
         as: "file_path"
         literal: true

Based on this conversation

Edited by Roman Eisner