1
0

update gpt-4o-mini

This commit is contained in:
syui 2024-08-24 04:44:36 +09:00
parent ddd6f37118
commit 27d5dac208
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -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()},