@zhushanwen/pi-llm-shared

Shared LLM invocation library for Pi extensions — model resolution (ref exact only), LLM calling (completeSimple), and config read/write with mtime+size caching. Shared library, not a Pi extension.

Packages

Package details

package

Install @zhushanwen/pi-llm-shared from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@zhushanwen/pi-llm-shared
Package
@zhushanwen/pi-llm-shared
Version
0.8.1
Published
Sep 18, 2026
Downloads
1,991/mo · 579/wk
Author
zhushanwen321
License
MIT
Types
package
Size
62 KB
Dependencies
3 dependencies · 2 peers

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.