ai-cli 0.2.1

A CLI tool for all things AI (generating images or audio, chatting with LLM's, you name it)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

#[derive(Deserialize, Debug, Clone)]
pub struct OpenAIError {
    pub error: OpenAIErrorInner
}

#[derive(Deserialize, Debug, Clone)]
pub struct OpenAIErrorInner {
    pub message: String,
    pub r#type: String,
    pub param: Option<String>,
    pub code: Option<String>
}