feat(openrouter): add app with create chat completion action

This commit is contained in:
Ali BARIN
2025-01-22 16:08:38 +00:00
parent 2163b0864d
commit ba82ba2632
16 changed files with 287 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
import verifyCredentials from './verify-credentials.js';
import isStillVerified from './is-still-verified.js';
export default {
fields: [
{
key: 'screenName',
label: 'Screen Name',
type: 'string',
required: true,
readOnly: false,
value: null,
placeholder: null,
description:
'Screen name of your connection to be used on Automatisch UI.',
clickToCopy: false,
},
{
key: 'apiKey',
label: 'API Key',
type: 'string',
required: true,
readOnly: false,
value: null,
placeholder: null,
description: 'OpenRouter API key of your account.',
docUrl: 'https://automatisch.io/docs/openrouter#api-key',
clickToCopy: false,
},
],
verifyCredentials,
isStillVerified,
};