mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-09 13:39:26 +00:00
fix(frontend): remove production API debug logs (#4258)
This commit is contained in:
parent
ce4a6d4c3d
commit
6549fffd0e
@ -173,7 +173,6 @@ function createCompatibleClient(isMock?: boolean): LangGraphClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const apiUrl = getLangGraphBaseURL(isMock);
|
const apiUrl = getLangGraphBaseURL(isMock);
|
||||||
console.log(`Creating API client with base URL: ${apiUrl}`);
|
|
||||||
const client = new LangGraphClient({
|
const client = new LangGraphClient({
|
||||||
apiUrl,
|
apiUrl,
|
||||||
onRequest: injectCsrfHeader,
|
onRequest: injectCsrfHeader,
|
||||||
|
|||||||
@ -19,10 +19,6 @@ export function getBackendBaseURL() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getLangGraphBaseURL(isMock?: boolean) {
|
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) {
|
if (env.NEXT_PUBLIC_LANGGRAPH_BASE_URL) {
|
||||||
return new URL(
|
return new URL(
|
||||||
env.NEXT_PUBLIC_LANGGRAPH_BASE_URL,
|
env.NEXT_PUBLIC_LANGGRAPH_BASE_URL,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user