MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / cmd_help

Method cmd_help

src/runner/runner.cpp:616–638  ·  view source on GitHub ↗

\brief Show the help \param input_list, std::vector

Source from the content-addressed store, hash-verified

614/// \brief Show the help
615/// \param input_list, std::vector<std::string>
616void Runner::cmd_help(std::vector<std::string>& input_list) {
617 std::cout << "Available commands:" << std::endl;
618 std::cout << " /show - show the model information" << std::endl;
619 std::cout << " /load [model_name] - load a model" << std::endl;
620 std::cout << " /input [filename] [follow_up_prompt] - load a file and follow up with a prompt" << std::endl;
621 std::cout << " - If space is in the filename, use quotes to wrap it" << std::endl;
622 std::cout << " /save - save the history" << std::endl;
623 std::cout << " /clear - clear the context" << std::endl;
624 std::cout << " /status - show perf. metrics" << std::endl;
625 std::cout << " /history - show the history" << std::endl;
626 std::cout << " /verbose - toggle the verbose" << std::endl;
627 std::cout << " /think - toggle the think" << std::endl;
628 std::cout << " /set [variable] [value] - set the variable" << std::endl;
629 std::cout << " /list - list all the models" << std::endl;
630 std::cout << " /bye - exit the program" << std::endl;
631 std::cout << " /? - show this help" << std::endl;
632 std::cout << std::endl;
633 std::cout << "Interactive input:" << std::endl;
634 std::cout << " - Press Enter to submit single-line input" << std::endl;
635 std::cout << " - Paste multi-line text and it will be detected automatically" << std::endl;
636 std::cout << " - Use 'Shift + Enter' to explicitly continue on next line" << std::endl;
637 std::cout << " - Commands (starting with /) are processed immediately" << std::endl;
638}
639
640/// \brief Show the help shotcut
641/// \param input_list, std::vector<std::string>

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected