shai 0.3.1

A shell AI assistant
Documentation
1
2
3
4
5
6
7
8
9
// pub(crate) trait Model {
//     fn send(&self, request: String, context: Context, task: Task)
//         -> Result<String, Box<dyn std::error::Error>>;
// }

pub(crate) enum Task {
    GenerateCommand,
    Explain,
}