Merge remote-tracking branch 'origin/main' into save-conversations
This commit is contained in:
commit
c83a918a7e
63 changed files with 2035 additions and 559 deletions
|
@ -7,7 +7,7 @@ use serde::{Deserialize, Serialize};
|
|||
use std::fmt::{self, Display};
|
||||
|
||||
// Data types for chat completion requests
|
||||
#[derive(Serialize)]
|
||||
#[derive(Debug, Serialize)]
|
||||
struct OpenAIRequest {
|
||||
model: String,
|
||||
messages: Vec<RequestMessage>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue