gray-window-97284
10/01/2024, 1:30 AM{{ }}
?
I have a coworkers who is writing a flow that involves calling an LLM. One of the parameters is a big prompt string which contains {{ "key_1": "example_val_1", "key_2",,, }}
. when he runs the flow with Argo he gets an error bash: key_1: command not found
. In Argo I can see the manifest has --system-instructions={{workflow.parameters.system-instructions}}
, and in GKE I can see the command executed in the contains has the string substituted. The string substitution looks like it’s done correctly in the GKE command, but things go haywire when the command is run. What’s the solution here? Should we escape these brackets?square-wire-39606
10/01/2024, 1:32 AMgray-window-97284
10/01/2024, 3:21 PMgray-window-97284
10/02/2024, 7:20 PMcommand
run by K8s, but something going wrong when the command is executed