We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ad413 commit 9aab9ecCopy full SHA for 9aab9ec
1 file changed
src/main/resources/com/github/jlangch/venice/openai-java.venice
@@ -1690,12 +1690,13 @@
1690
["Audio" (:audio-tokens (:output-details usage))]
1691
["Text" (:text-tokens (:output-details usage))] ]
1692
input-details (format-usage-details in-details)
1693
- output-details (format-usage-details out-details)]
+ output-details (format-usage-details out-details)
1694
+ title-formatted (if (nil? title) "" (str/format "%s%n" title))]
1695
(str/format (str "%s"
1696
"%sInput: %5d%s%n"
1697
"%sOutput: %5d%s%n"
1698
"%sTotal: %5d%n")
- (if (nil? title) "" (str/format "%s%n" title))
1699
+ title-formatted
1700
indent (:input-tokens usage) input-details
1701
indent (:output-tokens usage) output-details
1702
indent (:total-tokens usage)))))
0 commit comments