mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-07-25 23:48:00 +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);
|
||||
console.log(`Creating API client with base URL: ${apiUrl}`);
|
||||
const client = new LangGraphClient({
|
||||
apiUrl,
|
||||
onRequest: injectCsrfHeader,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user