Skip to content

Commit b5bc0fb

Browse files
xion-chokimohiomanbo
authored andcommitted
fix: correct name typo from 'curent' to 'current'
Signed-off-by: chkim <[email protected]> Signed-off-by: Changho Kim <[email protected]>
1 parent def88d9 commit b5bc0fb

File tree

1 file changed

+1
-1
lines changed
  • spring-ai-model/src/main/java/org/springframework/ai/chat/metadata

1 file changed

+1
-1
lines changed

spring-ai-model/src/main/java/org/springframework/ai/chat/metadata/UsageUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static Usage getCumulativeUsage(final Usage currentUsage, final ChatRespo
4343
usageFromPreviousChatResponse = previousChatResponse.getMetadata().getUsage();
4444
}
4545
else {
46-
// Return the curent usage when the previous chat response usage is empty or
46+
// Return the current usage when the previous chat response usage is empty or
4747
// null.
4848
return currentUsage;
4949
}

0 commit comments

Comments
 (0)