fix(frontend): remove production API debug logs (#4258)

This commit is contained in:
luo jiyin 2026-07-22 08:42:36 +08:00 committed by GitHub
parent ce4a6d4c3d
commit 6549fffd0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -173,7 +173,6 @@ function createCompatibleClient(isMock?: boolean): LangGraphClient {
}
const apiUrl = getLangGraphBaseURL(isMock);
console.log(`Creating API client with base URL: ${apiUrl}`);
const client = new LangGraphClient({
apiUrl,
onRequest: injectCsrfHeader,

View File

@ -19,10 +19,6 @@ export function getBackendBaseURL() {
}
export function getLangGraphBaseURL(isMock?: boolean) {
console.log(
"env.NEXT_PUBLIC_LANGGRAPH_BASE_URL",
env.NEXT_PUBLIC_LANGGRAPH_BASE_URL,
);
if (env.NEXT_PUBLIC_LANGGRAPH_BASE_URL) {
return new URL(
env.NEXT_PUBLIC_LANGGRAPH_BASE_URL,