Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/credentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,11 @@ export function InitSetup({
if (nextLangSmithKey.length > 0) {
updates.LANGCHAIN_PROJECT = "openwiki";
updates.LANGCHAIN_TRACING_V2 = "true";
} else {
// Blank input must act as an off switch: without this, a
// LANGCHAIN_TRACING_V2=true saved by an earlier setup stays in
// ~/.openwiki/.env and tracing silently remains enabled.
updates.LANGCHAIN_TRACING_V2 = "false";
}
}

Expand Down
Loading