@zenmux/rosetta-ai 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,9 +156,11 @@ class MessagesToChatCompletionConverter {
156
156
  prompt_tokens: inputTokens,
157
157
  total_tokens: totalTokens,
158
158
  completion_tokens_details: {
159
+ ...u.completion_tokens_details,
159
160
  reasoning_tokens: reasoningTokens,
160
161
  },
161
162
  prompt_tokens_details: {
163
+ ...u.prompt_tokens_details,
162
164
  cached_tokens: cachedTokens,
163
165
  ...(webSearch > 0 ? { web_search: webSearch } : {}),
164
166
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenmux/rosetta-ai",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Universal translator between AI provider protocols",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",