shell_gpt icon indicating copy to clipboard operation
shell_gpt copied to clipboard

Separate REPL from Chat and expand options

Open kth8 opened this issue 9 months ago • 0 comments

I would like to suggest separating the repl function from the chat function and giving it it's own show and list options to have it be easier to use, for example

╭─ Chat Options ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --chat                 TEXT  Follow conversation with id, use "temp" for quick session. [default: None]         │
│ --show-chat            TEXT  Show all messages from provided chat id. [default: None]                           │
│ --list-chats  -lc            List all existing chat ids.                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ REPL Options ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --repl                 TEXT  Start a REPL (Read–eval–print loop) session. [default: None]                       │
│ --show-repl            TEXT  Show all messages from provided repl id. [default: None]                           │
│ --list-repl                  List all existing repl ids.                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Role Options ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --role                  TEXT  System role for GPT model. [default: None]                                        │
│ --create-role           TEXT  Create role. [default: None]                                                      │
│ --show-role             TEXT  Show role. [default: None]                                                        │
│ --list-roles   -lr            List roles.                                                                       │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

kth8 avatar Mar 31 '25 16:03 kth8