Skip to content

Commit a5ba121

Browse files
committed
kp_common: export AI_LOG_ALWAYS
for users who want to set the environment variable and get full logs Signed-off-by: Nishanth Menon <nm@ti.com>
1 parent 72918a5 commit a5ba121

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

kp_common

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ if [ -n "${SEMCODE_DB}" ] && [ -d "${SEMCODE_DB}" ]; then
9393
DOCKER_ARGS+=(-e SEMCODE_DB="${SEMCODE_DB}")
9494
fi
9595

96+
if [ -n "${AI_LOG_ALWAYS}" ]; then
97+
DOCKER_ARGS+=(-e AI_LOG_ALWAYS="${AI_LOG_ALWAYS}")
98+
fi
99+
96100
# Pass OpenAPI key if defined to the container environment for PatchWise
97101
if [ -n "${OPENAI_API_KEY}" ]; then
98102
DOCKER_ARGS+=(-e OPENAI_API_KEY="${OPENAI_API_KEY}")

0 commit comments

Comments
 (0)