Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit d41deb7

Browse files
authored
Merge pull request #30 from SciPhi-AI/Nolan/AddTempLogging
Nolan/add temp logging
2 parents cca2a90 + a172f7b commit d41deb7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "r2r-js",
3-
"version": "1.0.34",
3+
"version": "1.0.35",
44
"description": "",
55
"main": "dist/index.js",
66
"browser": "dist/index.browser.js",

src/r2rClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ export class r2rClient {
291291
},
292292
};
293293

294+
console.log("Sending RAG request:", JSON.stringify(request, null, 2));
295+
console.log("Request headers:", this.axiosInstance.defaults.headers);
296+
294297
if (request.rag_generation_config?.stream) {
295298
return this.streamRag(request);
296299
} else {

0 commit comments

Comments
 (0)