Releases: NickSdot/phpstan-phpstorm-error-identifiers
Releases · NickSdot/phpstan-phpstorm-error-identifiers
0.3.1
LLM token savoooor
What's Changed
- added error formatter for LLM usage (40-60% less token usage)
Note
I know the package name does not really allow for multiple formatters, but I decided to keep things simple and still add it to this package. The output of the LLM formatter is optimised for LLMs (surprise!), resulting in 40-60% less token usage compared to the default RawErrorFormatter output.
Real-life Example (210 errors):
| Formatter | Token | Characters |
|---|---|---|
| TableErrorFormatter | 11,693 | 132,882 |
| RawErrorFormatter | 9,265 | 35,794 |
| LlmErrorFormatter | 4,316 | 18,245 |
Enjoy!
Misc
Full Changelog: 0.2.0...0.3.0
Let's be Twitter friends: http://twitter.com/NickSdot
0.2.0
0.1.1
Hello World.
0.1.0 refactor: renamed class