mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
privileged model override feature for gpt
This commit is contained in:
parent
9b1e76ebc3
commit
60a8158bff
2 changed files with 17 additions and 12 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue