13
packages/forge/blocks/openRouter/index.ts
Normal file
13
packages/forge/blocks/openRouter/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { createBlock } from '@typebot.io/forge'
|
||||
import { OpenRouterLogo } from './logo'
|
||||
import { auth } from './auth'
|
||||
import { createChatCompletion } from './actions/createChatCompletion'
|
||||
|
||||
export const openRouter = createBlock({
|
||||
id: 'open-router',
|
||||
name: 'OpenRouter',
|
||||
tags: ['ai', 'openai', 'chat', 'completion'],
|
||||
LightLogo: OpenRouterLogo,
|
||||
auth,
|
||||
actions: [createChatCompletion],
|
||||
})
|
||||
Reference in New Issue
Block a user