File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 - " adminforth-completion-adapter-openai-responses"
5656 - " adminforth-completion-adapter-antropic-messages"
5757 - " adminforth-completion-adapter-google-gemini"
58+ - " adminforth-audio-adapter-openai"
5859
5960
6061tasks :
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import OAuthPlugin from '../../plugins/adminforth-oauth/index.js';
1212import KeyValueAdapterRam from '../../adapters/adminforth-key-value-adapter-ram/index.js' ;
1313import AdminForthAgent from '../../plugins/adminforth-agent/index.js' ;
1414import CompletionAdapterOpenAIResponses from '../../adapters/adminforth-completion-adapter-openai-responses/index.js' ;
15+ import OpenAIAudioAdapter from '../../adapters/adminforth-audio-adapter-openai/index.js' ;
1516
1617const OVH_AI_ENDPOINTS_BASE_URL = 'https://oai.endpoints.kepler.ai.cloud.ovh.net/v1' ;
1718const ovhAiEndpointsAccessToken = process . env . OVH_AI_ENDPOINTS_ACCESS_TOKEN ;
@@ -215,6 +216,9 @@ export default {
215216 } ,
216217 } ) ,
217218 new AdminForthAgent ( {
219+ audioAdapter : new OpenAIAudioAdapter ( {
220+ apiKey : process . env . OPENAI_API_KEY ,
221+ } ) ,
218222 placeholderMessages : async ( { adminUser, httpExtra } ) => {
219223 return [
220224 "What is a cars count in SQLite" ,
You can’t perform that action at this time.
0 commit comments