@goliapkg/tiktoken-wasm 3.2.5 → 3.3.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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@goliapkg/tiktoken-wasm",
3
3
  "type": "module",
4
4
  "description": "WASM bindings for the tiktoken BPE tokenizer",
5
- "version": "3.2.5",
5
+ "version": "3.3.0",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -104,6 +104,7 @@ export function estimateCost(model_id: string, input_tokens: number, output_toke
104
104
  * Supported encodings:
105
105
  * - `"cl100k_base"` — GPT-4, GPT-3.5-turbo
106
106
  * - `"o200k_base"` — GPT-4o, GPT-4.1, o1, o3
107
+ * - `"o200k_harmony"` — gpt-oss (harmony chat format)
107
108
  * - `"p50k_base"` — text-davinci-002/003
108
109
  * - `"p50k_edit"` — text-davinci-edit
109
110
  * - `"r50k_base"` — GPT-3 (davinci, curie, etc.)
package/tiktoken_wasm.js CHANGED
@@ -344,6 +344,7 @@ export function estimateCost(model_id, input_tokens, output_tokens) {
344
344
  * Supported encodings:
345
345
  * - `"cl100k_base"` — GPT-4, GPT-3.5-turbo
346
346
  * - `"o200k_base"` — GPT-4o, GPT-4.1, o1, o3
347
+ * - `"o200k_harmony"` — gpt-oss (harmony chat format)
347
348
  * - `"p50k_base"` — text-davinci-002/003
348
349
  * - `"p50k_edit"` — text-davinci-edit
349
350
  * - `"r50k_base"` — GPT-3 (davinci, curie, etc.)
Binary file