update gpt-4o-mini
This commit is contained in:
parent
ddd6f37118
commit
27d5dac208
@ -33,7 +33,7 @@ pub async fn post_request(prompt: String) -> String {
|
|||||||
";
|
";
|
||||||
|
|
||||||
let post = Some(json!({
|
let post = Some(json!({
|
||||||
"model": "gpt-3.5-turbo",
|
"model": "gpt-4o-mini",
|
||||||
"messages": [
|
"messages": [
|
||||||
{"role": "system", "content": &setting.to_string()},
|
{"role": "system", "content": &setting.to_string()},
|
||||||
{"role": "user", "content": &prompt.to_string()},
|
{"role": "user", "content": &prompt.to_string()},
|
||||||
|
Loading…
Reference in New Issue
Block a user