feat: add file search capability to ephemeral agents, update code interpreter selection based of file upload, consolidate main upload menu for all endpoints

This commit is contained in:
Danny Avila 2025-06-21 19:16:28 -04:00
parent 13c977a670
commit ef7e517c06
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
5 changed files with 36 additions and 25 deletions

View file

@ -70,6 +70,9 @@ const loadEphemeralAgent = async ({ req, agent_id, endpoint, model_parameters: _
if (ephemeralAgent?.execute_code === true) {
tools.push(Tools.execute_code);
}
if (ephemeralAgent?.file_search === true) {
tools.push(Tools.file_search);
}
if (ephemeralAgent?.web_search === true) {
tools.push(Tools.web_search);
}