3 ms·
Suggestion for Pi: capitalize tool names for the Sonnet/Opus models (edit -> Edit, bash -> Bash, ...). The rationale: Anthropic's own harness (Claude Code) use
by BohuTANG 3mo ago
Suggestion for Pi: capitalize tool names for the Sonnet/Opus
models (edit -> Edit, bash -> Bash, ...).
The rationale: Anthropic's own harness (Claude Code) uses
PascalCase tool names — Bash, Edit, Read, Write, Glob, Grep.
Since the models are post-trained/aligned against that harness,
those naming conventions are effectively baked into the model.
Matching your harness's tool names to the same casing puts your
inputs closer to the training distribution, which lines up with
the more reliable tool use I've seen in evaling.
A related pattern that fits the same distribution: for long
outputs, have the model reserve placeholders first and complete
the work across multiple steps.
Reference: https://github.com/evotai/evot/commit/765151796c43965964a9daaec72aa5006646abef https://github.com/evotai/evot/commit/765151796c43965964a9da...
- BohuTANG 3mo ago[flagged]
- the_mitsuhiko 3mo ago> Suggestion for Pi: capitalize tool names for the Sonnet/Opus models (edit -> Edit, bash -> Bash, ...). Pi is doing that.