chat-ui icon indicating copy to clipboard operation
chat-ui copied to clipboard

Consistency and Handling Issues with Environment Variable Values (.env)

Open calycekr opened this issue 6 months ago • 1 comments

Consistency and Handling Issues with Environment Variable Values

  1. The values are either 0 or 1, or false or true.

  2. 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.

calycekr avatar Jul 31 '24 04:07 calycekr