feat(prod): add allow register and chatgpt model into env file

This commit is contained in:
Leons Aleksandrovs
2025-07-13 21:59:42 +03:00
parent 6d13680e99
commit dd93438ad2
5 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func GenerateCoverLetter(templateHTML string, jobHTML string) (GeneratedCover, e
}
payload := ChatRequest{
Model: "gpt-4o", // o4-mini
Model: config.Env["CHATGPT_MODEL"],
ResponseFormat: &ResponseFormat{Type: "json_object"},
Messages: []ChatMessage{
{