chat-ui
chat-ui copied to clipboard
Consistency and Handling Issues with Environment Variable Values (.env)
Consistency and Handling Issues with Environment Variable Values
-
The values are either 0 or 1, or false or true.
-
The values of environment variables are treated as strings, but in the code, they are used as if they were booleans. For example, LLM_SUMMARIZATION=true is actually input as "true", but code like if (!env.LLM_SUMMARIZATION) is used.