feat(openai): add moderation action

This commit is contained in:
Ali BARIN
2023-01-17 13:20:36 +01:00
parent 577d5215cd
commit c2579b1850
3 changed files with 34 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import defineApp from '../../helpers/define-app';
import addAuthHeader from './common/add-auth-header';
import auth from './auth';
import actions from './actions';
export default defineApp({
name: 'OpenAI',
@@ -13,4 +14,5 @@ export default defineApp({
supportsConnections: true,
beforeRequest: [addAuthHeader],
auth,
actions,
});