dsh-short-tool-ids: Shortening Overly Long Tool-Call IDs for OpenAI-Compatible APIs

dsh-short-tool-ids is an experimental DSH plugin maintained by mrbeandev, addressing a failure in OpenAI-compatible Chat Completions where tool-call IDs exceeding 64 characters cause conversation failures. It only rewrites outbound pi-ai openai-completions requests, normalizing oversized IDs to call_ followed by a SHA-256 hex string, and provides a per-provider toggle in Settings → Short tool-call IDs (disabled by default); it does not modify saved sessions. Supports DSH 0.1.5-rc.1 through versions below 0.3.0, plugin 0.4.0+, Node ^22.19.0 or >=24. To install: dsh plugin --profile web add dsh-short-tool-ids, restart the Web, then enable the toggle for the failing provider.

Read More