Skip to content

timschmidt/llmterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llmterm keeps a history of your shell usage and offers suggestions

llmterm screenshot

cuda

llmterm uses kalosm to interface with the LLM. Cuda support is enabled by default. To choose other inference methods, edit the Cargo.toml file and rebuild.

to build

cargo build --release

to run

cargo run --release

models

cargo run --release -- --model llama_3_1_8b_chat
  • llama_3_1_8b_chat
  • mistral_7b_instruct_2
  • phi_3_5_mini_4k_instruct

to exit

Use Ctrl-C, or type exit or quit.

todo

easy on ramp

  • add current working directory to prompt for context
  • command line switch for different shells
  • command line switch to suggest only a command
  • check if llm response is empty, if so, pop the last activity off the buffer and try again
  • allow loading of all local models supported by kalosm by name

more challenging

About

Your friendly local LLM terminal companion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages