I'm getting "The function identifier is empty" exception while importing plugin from directory. #7296
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @abhinav-jha-dev ! It looks like the syntax in |
Beta Was this translation helpful? Give feedback.
-
Thanks for identifying this. I was able to resolve it using $ for variable data. |
Beta Was this translation helpful? Give feedback.
Hi @abhinav-jha-dev ! It looks like the syntax in
skprompt.txt
file is a little bit incorrect.The variables should start with
$
sign, so in your case:{{$choices}}
,{{$request}}
. Also, I'm not sure there is a support for indexes, so instead of accessing first choice with{{choices.[0]}}
, you will need to define separate variable inKernelArguments
, for examplefirstChoice
, assign it from code and then access it from prompt with{{$firstChoice}}
.