Skip to content

Commit eb37117

Browse files
committed
debug: add URL and body length logging to rpcCall + cache:no-store
1 parent 980d5b8 commit eb37117

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/services/notebooklm/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ export class NotebookLMClient {
123123
this.auth.sessionId
124124
);
125125

126+
console.log(`[NotebookLM] RPC ${methodId} URL: ${url}`);
127+
console.log(`[NotebookLM] RPC ${methodId} body length: ${body.length}`);
126128
const response = await fetchWithTimeout(
127129
url,
128130
{
@@ -132,6 +134,7 @@ export class NotebookLMClient {
132134
Cookie: this.auth.cookieHeader,
133135
},
134136
body,
137+
cache: 'no-store' as RequestCache,
135138
},
136139
timeoutMs ?? DEFAULT_FETCH_TIMEOUT_MS
137140
);

0 commit comments

Comments
 (0)