update model list

- add gpt-4o-mini
- remove EOL models
- set default model to gpt-4o-mini
This commit is contained in:
2024-07-19 09:34:22 +08:00
parent 9417b99ad4
commit 370a680d94
2 changed files with 20 additions and 22 deletions

View File

@@ -1,3 +1,5 @@
import { defaultModel } from "./models";
export interface ImageURL {
url: string;
detail: "low" | "high";
@@ -155,7 +157,7 @@ class Chat {
enable_max_gen_tokens = true,
tokens_margin = 1024,
apiEndPoint = "https://api.openai.com/v1/chat/completions",
model = "gpt-3.5-turbo",
model = defaultModel,
temperature = 0.7,
enable_temperature = true,
top_p = 1,