Add codex metadata so the chat model shows up in the AI Agent model picker
This commit is contained in:
parent
47b14dafeb
commit
f00e741e77
2 changed files with 21 additions and 0 deletions
|
|
@ -35,6 +35,21 @@ export class LmChatTeamRouter implements INodeType {
|
|||
name: 'TeamoRouter Chat Model',
|
||||
},
|
||||
|
||||
codex: {
|
||||
categories: ['AI'],
|
||||
subcategories: {
|
||||
AI: ['Language Models', 'Root Nodes'],
|
||||
'Language Models': ['Chat Models (Recommended)'],
|
||||
},
|
||||
resources: {
|
||||
primaryDocumentation: [
|
||||
{
|
||||
url: 'https://git.itoservice.ru/dosnav/n8n-nodes-teamorouter',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
inputs: [],
|
||||
outputs: [NodeConnectionTypes.AiLanguageModel],
|
||||
outputNames: ['Model'],
|
||||
|
|
|
|||
|
|
@ -263,6 +263,12 @@ function extractChatImages(response: ChatCompletionResponse): string[] {
|
|||
export class Teamorouter implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'TeamoRouter',
|
||||
codex: {
|
||||
categories: ['AI'],
|
||||
subcategories: {
|
||||
AI: ['Root Nodes'],
|
||||
},
|
||||
},
|
||||
name: 'teamorouter',
|
||||
icon: 'file:teamorouter.svg',
|
||||
group: ['transform'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue