@zenmux/rosetta-ai 1.0.2 → 1.0.3

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.
@@ -146,9 +146,11 @@ class MessagesToResponsesConverter {
146
146
  prompt_tokens: inputTokens,
147
147
  total_tokens: totalTokens,
148
148
  completion_tokens_details: {
149
+ ...u.output_tokens_details,
149
150
  reasoning_tokens: reasoningTokens,
150
151
  },
151
152
  prompt_tokens_details: {
153
+ ...u.input_tokens_detauls,
152
154
  cached_tokens: cachedTokens,
153
155
  ...(webSearchCount > 0 ? { web_search: webSearchCount } : {}),
154
156
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenmux/rosetta-ai",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Universal translator between AI provider protocols",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",