privileged model override feature for gpt

This commit is contained in:
bignutty 2025-03-05 12:23:14 +01:00
parent 9b1e76ebc3
commit 60a8158bff
2 changed files with 17 additions and 12 deletions

View file

@ -381,10 +381,11 @@ module.exports.garfield = async function(context,){
return await request(Api.UTILS_GARFIELD, "GET", {}, {})
}
module.exports.gpt = async function(context, prompt, input){
module.exports.gpt = async function(context, prompt, input, model = "gpt-4o"){
return await request(Api.UTILS_GPT, "GET", {}, {
prompt,
input
input,
model
})
}