Merge pull request #2041 from QwenLM/fix/reduce-streaming-log-output
fix(logging): reduce excessive streaming output in session history logs
This commit is contained in:
commit
f6376d2e0b
@ -154,7 +154,6 @@ export class LoggingContentGenerator implements ContentGenerator {
|
||||
response.modelVersion || req.model,
|
||||
userPromptId,
|
||||
response.usageMetadata,
|
||||
JSON.stringify(response),
|
||||
);
|
||||
await this.logOpenAIInteraction(openaiRequest, response);
|
||||
return response;
|
||||
@ -219,7 +218,6 @@ export class LoggingContentGenerator implements ContentGenerator {
|
||||
responses[0]?.modelVersion || model,
|
||||
userPromptId,
|
||||
lastUsageMetadata,
|
||||
JSON.stringify(responses),
|
||||
);
|
||||
const consolidatedResponse =
|
||||
this.consolidateGeminiResponsesForLogging(responses);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user