mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(OpenAI Node): Overhaul (#8335)
This commit is contained in:
@@ -247,7 +247,15 @@ export abstract class DirectoryLoader {
|
||||
isCustom: boolean;
|
||||
}) {
|
||||
try {
|
||||
const codex = this.getCodex(filePath);
|
||||
let codex;
|
||||
|
||||
if (!isCustom) {
|
||||
codex = node.description.codex;
|
||||
}
|
||||
|
||||
if (codex === undefined) {
|
||||
codex = this.getCodex(filePath);
|
||||
}
|
||||
|
||||
if (isCustom) {
|
||||
codex.categories = codex.categories
|
||||
|
||||
Reference in New Issue
Block a user