From 27d5dac20802d6c3dd7c576eccabf3d7d8724eb3 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 24 Aug 2024 04:44:36 +0900 Subject: [PATCH] update gpt-4o-mini --- src/openai.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openai.rs b/src/openai.rs index e7e2b07..3c403cf 100644 --- a/src/openai.rs +++ b/src/openai.rs @@ -33,7 +33,7 @@ pub async fn post_request(prompt: String) -> String { "; let post = Some(json!({ - "model": "gpt-3.5-turbo", + "model": "gpt-4o-mini", "messages": [ {"role": "system", "content": &setting.to_string()}, {"role": "user", "content": &prompt.to_string()},