by yjftsjthsd-h · 2y ago · 0 comments
+ GPLv3
+ Defaults to listing commands and asking for confirmation
+ Install is just "pip install"
+ Good docs with examples
Is there a way to point at an arbitrary API endpoint? IIRC llama.cpp can do an OpenAPI compatible API so it should be drop in?
> Is there a way to point at an arbitrary API endpoint?
Yes. Set the `local_uri` setting in the configuration (`llm2sh --setup`), and either pass `-m local` on the CLI or set `"default_model": "local"` in the config.