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',
|
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: [],
|
inputs: [],
|
||||||
outputs: [NodeConnectionTypes.AiLanguageModel],
|
outputs: [NodeConnectionTypes.AiLanguageModel],
|
||||||
outputNames: ['Model'],
|
outputNames: ['Model'],
|
||||||
|
|
|
||||||
|
|
@ -263,6 +263,12 @@ function extractChatImages(response: ChatCompletionResponse): string[] {
|
||||||
export class Teamorouter implements INodeType {
|
export class Teamorouter implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
displayName: 'TeamoRouter',
|
displayName: 'TeamoRouter',
|
||||||
|
codex: {
|
||||||
|
categories: ['AI'],
|
||||||
|
subcategories: {
|
||||||
|
AI: ['Root Nodes'],
|
||||||
|
},
|
||||||
|
},
|
||||||
name: 'teamorouter',
|
name: 'teamorouter',
|
||||||
icon: 'file:teamorouter.svg',
|
icon: 'file:teamorouter.svg',
|
||||||
group: ['transform'],
|
group: ['transform'],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue