fix(GitHub Document Loader Node): Fix node loading issue (#17494)

This commit is contained in:
oleg
2025-07-22 10:41:14 +02:00
committed by GitHub
parent 9df03f6d5a
commit 8fb3d8d587
3 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
import { GithubRepoLoader } from '@langchain/community/document_loaders/web/github';
import type { TextSplitter } from '@langchain/textsplitters';
import { RecursiveCharacterTextSplitter } from '@langchain/textsplitters';
import { logWrapper } from '@utils/logWrapper';
import { getConnectionHintNoticeField } from '@utils/sharedFields';
import {
NodeConnectionTypes,
type INodeType,
@@ -11,9 +13,6 @@ import {
type INodeInputConfiguration,
} from 'n8n-workflow';
import { logWrapper } from '@utils/logWrapper';
import { getConnectionHintNoticeField } from '@utils/sharedFields';
function getInputs(parameters: IDataObject) {
const inputs: INodeInputConfiguration[] = [];

View File

@@ -207,6 +207,7 @@
"generate-schema": "2.6.0",
"html-to-text": "9.0.5",
"https-proxy-agent": "catalog:",
"ignore": "^5.2.0",
"js-tiktoken": "^1.0.12",
"jsdom": "23.0.1",
"langchain": "0.3.29",

3
pnpm-lock.yaml generated
View File

@@ -1031,6 +1031,9 @@ importers:
https-proxy-agent:
specifier: 'catalog:'
version: 7.0.6
ignore:
specifier: ^5.2.0
version: 5.2.4
js-tiktoken:
specifier: ^1.0.12
version: 1.0.12