is there any problem when to argument is passed to error_out? [code]
- User
is there any problem when to argument is passed to error_out?
shu::echo_err() { echo -en "$IRED" 1>&2 echo -e "$@" 1>&2 echo -en "$NC" 1>&2 return 1 } u::error_out() { u::echo_err "$@" "\n${RED} Quitting ...$NC"; exit 1 } Assistant
Yes, there's a problem when no argument is passed to
error_out.When
$@is empty (no arguments), theecho -e "$@"line inu::echo_errwill just print a blank line. This means would print:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.