You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that if i use eval command with config option, the prompts label is disappeared.
I try to analyze why it cause and found out that there is code problem.
In deail, main.ts -> when using config option, it use readconfigs function which is using readConfig multiple time for reading config files and do post process for each config datas.
and when not using config option, it use maybeReadConfig function which is only using readConfig onetime.
The function readConfigs's post processing has problem. util.ts ->readConfigs has internal function seenPrompts process only prompt's id without process label.
It cause the problem that label gonna disappear when I use objects array that contain both id and label.
In result, result table miss the label option and display python code or raw prompt which did't render template variables.
Could you check it and give me a comment that whether it is intentional or not?
The text was updated successfully, but these errors were encountered:
@typpo
It seems that Version 0.64.0 didn't have this bug patch.
Could you tell me when this fix is applied in release package?
I hope the bug patch is reflected in a released version.
I found that if i use eval command with config option, the prompts label is disappeared.
I try to analyze why it cause and found out that there is code problem.
In deail,
main.ts ->
when using config option, it usereadconfigs
function which is using readConfig multiple time for reading config files and do post process for each config datas.and when not using config option, it use
maybeReadConfig
function which is only usingreadConfig
onetime.The function
readConfigs
's post processing has problem.util.ts ->
readConfigs
has internal functionseenPrompts
process only prompt's id without process label.It cause the problem that label gonna disappear when I use objects array that contain both id and label.
In result, result table miss the label option and display python code or raw prompt which did't render template variables.
Could you check it and give me a comment that whether it is intentional or not?
The text was updated successfully, but these errors were encountered: