News for hackers. Stuff that matters.
Re:Show HN: Llm2sh – Translate plain-language requests into ... by yjftsjthsd-h on Wednesday July 17, 2024 @11:40PM (#40992288)
Some really nice things:

+ 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?

Re:Show HN: Llm2sh – Translate plain-language requests into ... by RandomBK on Wednesday July 17, 2024 @11:50PM (#40992339)
I'm glad you like it! The whole point is to have a simple no-frills clean CLI experience.

> 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.

Re:Show HN: Llm2sh – Translate plain-language requests into ... by yjftsjthsd-h on Wednesday July 17, 2024 @11:57PM (#40992367)
Oh, nice; thanks:)