diff options
| author | Jeff Carr <[email protected]> | 2025-08-29 15:47:23 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-29 15:47:23 -0500 |
| commit | 7163afdacc6137ee41e0f19a5057c14f16b3441f (patch) | |
| tree | 34fac7899773289772f71267ece9c5256c0e1f89 | |
| parent | d021fcadadd100c11953d894de19f545626df618 (diff) | |
add 'regex.' to the filename
| -rw-r--r-- | packages/core/src/core/loggingContentGenerator.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/core/loggingContentGenerator.ts b/packages/core/src/core/loggingContentGenerator.ts index c4b89115..a1fdb897 100644 --- a/packages/core/src/core/loggingContentGenerator.ts +++ b/packages/core/src/core/loggingContentGenerator.ts @@ -113,7 +113,7 @@ export class LoggingContentGenerator implements ContentGenerator { this.logApiRequest(toContents(req.contents), req.model, userPromptId); try { const sessionId = this.config.getSessionId(); - const fileName = `${sessionId}.gemini-api-request.${this.requestCounter}.json`; + const fileName = `regex.${sessionId}.gemini-api-request.${this.requestCounter}.json`; const filePath = path.join('/tmp', fileName); const jsonPayload = JSON.stringify(req, null, 2); fs.writeFileSync(filePath, jsonPayload); @@ -142,7 +142,7 @@ export class LoggingContentGenerator implements ContentGenerator { this.logApiRequest(toContents(req.contents), req.model, userPromptId); const sessionId = this.config.getSessionId(); - const fileName = `${sessionId}.gemini-api-request.${this.requestCounter}.json`; + const fileName = `regex.${sessionId}.gemini-api-request.${this.requestCounter}.json`; const filePath = path.join('/tmp', fileName); const jsonPayload = JSON.stringify(req, null, 2); fs.writeFileSync(filePath, jsonPayload); |
