janhq / cortex

Drop-in, local AI alternative to the OpenAI stack. Multi-engine (llama.cpp, TensorRT-LLM, ONNX). Powers 👋 Jan
https://jan.ai/cortex
Apache License 2.0
1.76k stars 94 forks source link

bug: `cortex models` should == `cortex models -h` #754

Open Van-QA opened 1 week ago

Van-QA commented 1 week ago

Description: Running the cortex models command does not return any response.cortex models

Reproduction Steps:

  1. Open a terminal.
  2. Run cortex models.

Expected Behavior: The command should return a list of available models or an error message if the command is not available.

Environment: Github codespace 4 cores 16gb RAM

image

https://discord.com/channels/1107178041848909847/1204617960615055401/1253826168520445996

Request Ideally: all commands should bring up -h

i.e. For commands that would normal require args:

Not applicable to something like cortex serve which should jsut start the server...

0xSage commented 6 days ago

@Van-QA I renamed the issue to be more specific.

@louis-jan its up to you in terms of deciding if the short hand is for list or -h

I'm ok with either.

Thanks for already updating cortex to be shorthand for cortex -h. Its helpful.