mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
use gpt4 when user requests gpt4
This commit is contained in:
parent
b7b5c61bb0
commit
9596352b1b
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ const superagent = require('superagent')
|
|||
const { iconPill, stringwrap, smallIconPill } = require('../../../labscore/utils/markdown')
|
||||
|
||||
const { Permissions } = require("detritus-client/lib/constants");
|
||||
const { chatgpt } = require('../../../labscore/api/obelisk');
|
||||
const { chatgpt, gpt4 } = require('../../../labscore/api/obelisk');
|
||||
|
||||
const MODELS = {
|
||||
"chatgpt": {
|
||||
|
@ -83,7 +83,7 @@ module.exports = {
|
|||
if(model.toLowerCase() == "chatgpt"){
|
||||
res = await chatgpt(context, prompt, input)
|
||||
} else if (model.toLowerCase() == "gpt4"){
|
||||
res = await chatgpt(context, prompt, input)
|
||||
res = await gpt4(context, prompt, input)
|
||||
}
|
||||
|
||||
let description = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue