This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Description
Cortex version
v83
Describe the Bug
Right now cortex chat starts an interactive shell.
Originally, we only intended for run to start the shell.
For consistency, cortex chat should mirror the other cortex subcommands like models, engines: ping the api endpoint, and return a response within the standard terminal.
But cmiiw @dan-homebrew
Steps to Reproduce
cortex start the server
cortex models start ... the model
cortex chat ...
- expected: chat request response within terminal
Screenshots / Logs
Instead, we enter an interactive chat shell.
(base) PS C:\Users\n\cortexcpp-nightly\models> cortex-nightly chat mistral -m "hello"
Inorder to exit, type `exit()`
> Hello! How can I assist you today?
>
What is your OS?
What engine are you running?