Add a failing test for codegen autoindent
This commit is contained in:
parent
02078140c0
commit
6d9333dc3b
4 changed files with 116 additions and 3 deletions
|
@ -27,7 +27,7 @@ use util::paths::CONVERSATIONS_DIR;
|
|||
const OPENAI_API_URL: &'static str = "https://api.openai.com/v1";
|
||||
|
||||
// Data types for chat completion requests
|
||||
#[derive(Debug, Serialize)]
|
||||
#[derive(Debug, Default, Serialize)]
|
||||
pub struct OpenAIRequest {
|
||||
model: String,
|
||||
messages: Vec<RequestMessage>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue