mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-04 08:25:26 +08:00
Replace hardcoded DSML typo variant lists in Go/Node tool call parsers with generalized prefix consumption that tolerates repeated leading <, repeated DSML prefix noise, and trailing pipe terminators. Split tiktoken-dependent token counting into a build-tagged file for non-cgo platform compatibility. Add /data directory to Dockerfile for bind-mount permissions. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
8 lines
118 B
Go
8 lines
118 B
Go
//go:build 386 || arm || mips || mipsle || wasm
|
|
|
|
package util
|
|
|
|
func countWithTokenizer(_, _ string) int {
|
|
return 0
|
|
}
|