Skip to content

Commit

Permalink
[openai] Remove debug logging (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
eolivelli authored Nov 8, 2023
1 parent 83afc3f commit f73c28d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ public synchronized void accept(
com.azure.ai.openai.models.ChatCompletions chatCompletions) {
List<com.azure.ai.openai.models.ChatChoice> choices = chatCompletions.getChoices();
String answerId = chatCompletions.getId();
log.info("Chat completions chunk: {}", chatCompletions);
log.info("Chat completions chunk:usage: {}", chatCompletions.getUsage());
if (chatCompletions.getUsage() != null) {
totalTokens.addAndGet(chatCompletions.getUsage().getTotalTokens());
completionTokens.addAndGet(chatCompletions.getUsage().getCompletionTokens());
Expand Down

0 comments on commit f73c28d

Please sign in to comment.