feat(experimental): FunctionsAgent, uses new function payload for tooling

This commit is contained in:
Daniel Avila 2023-06-13 23:39:22 -04:00 committed by Danny Avila
parent 550e566097
commit 3caddd6854
8 changed files with 227 additions and 52 deletions

View file

@ -53,7 +53,7 @@ router.get('/', async function (req, res) {
? { availableModels: getOpenAIModels(), userProvide: apiKey === 'user_provided' }
: false;
const gptPlugins = apiKey
? { availableModels: getPluginModels(), availableTools }
? { availableModels: getPluginModels(), availableTools, availableAgents: ['classic', 'functions'] }
: false;
const bingAI = process.env.BINGAI_TOKEN
? { userProvide: process.env.BINGAI_TOKEN == 'user_provided' }