@n8n/n8n-nodes-langchain 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/credentials/CustomModelEndpointApi.credentials.d.ts +9 -0
  2. package/dist/credentials/CustomModelEndpointApi.credentials.js +133 -0
  3. package/dist/credentials/CustomModelEndpointApi.credentials.js.map +1 -0
  4. package/dist/credentials/McpOAuth2Api.credentials.js +2 -1
  5. package/dist/credentials/McpOAuth2Api.credentials.js.map +1 -1
  6. package/dist/credentials/WeaviateApi.credentials.js +14 -0
  7. package/dist/credentials/WeaviateApi.credentials.js.map +1 -1
  8. package/dist/credentials/icons/customModelEndpoint.dark.svg +1 -0
  9. package/dist/credentials/icons/customModelEndpoint.svg +1 -0
  10. package/dist/known/credentials.json +4 -0
  11. package/dist/node-definitions/.nodes-hash +1 -1
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_insert.ts +2 -1
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_load.ts +2 -1
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve.ts +2 -1
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v1/mode_retrieve_as_tool.ts +2 -1
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_insert.ts +2 -1
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_load.ts +2 -1
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve.ts +2 -1
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v11/mode_retrieve_as_tool.ts +2 -1
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_insert.ts +2 -1
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_load.ts +2 -1
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve.ts +2 -1
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v12/mode_retrieve_as_tool.ts +2 -1
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_insert.ts +2 -1
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_load.ts +2 -1
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve.ts +2 -1
  27. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v13/mode_retrieve_as_tool.ts +2 -1
  28. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_insert.ts +2 -1
  29. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_load.ts +2 -1
  30. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve.ts +2 -1
  31. package/dist/node-definitions/nodes/n8n-nodes-langchain/vectorStoreWeaviate/v14/mode_retrieve_as_tool.ts +2 -1
  32. package/dist/nodes/embeddings/EmbeddingsGoogleGemini/EmbeddingsGoogleGemini.node.js +2 -0
  33. package/dist/nodes/embeddings/EmbeddingsGoogleGemini/EmbeddingsGoogleGemini.node.js.map +1 -1
  34. package/dist/nodes/embeddings/EmbeddingsLemonade/EmbeddingsLemonade.node.js +3 -0
  35. package/dist/nodes/embeddings/EmbeddingsLemonade/EmbeddingsLemonade.node.js.map +1 -1
  36. package/dist/nodes/llms/LMLemonade/LmLemonade.node.js +3 -0
  37. package/dist/nodes/llms/LMLemonade/LmLemonade.node.js.map +1 -1
  38. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js +1 -1
  39. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js.map +1 -1
  40. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js +1 -1
  41. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js.map +1 -1
  42. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js +1 -1
  43. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js.map +1 -1
  44. package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js +2 -0
  45. package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js.map +1 -1
  46. package/dist/nodes/mcp/McpClientTool/utils.js +1 -1
  47. package/dist/nodes/mcp/McpClientTool/utils.js.map +1 -1
  48. package/dist/nodes/mcp/shared/runtime.js +14 -1
  49. package/dist/nodes/mcp/shared/runtime.js.map +1 -1
  50. package/dist/nodes/mcp/shared/utils.js +2 -0
  51. package/dist/nodes/mcp/shared/utils.js.map +1 -1
  52. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +4 -0
  53. package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -1
  54. package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js +2 -2
  55. package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js.map +1 -1
  56. package/dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.js +3 -5
  57. package/dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.js.map +1 -1
  58. package/dist/nodes/vector_store/VectorStoreWeaviate/Weaviate.utils.d.ts +3 -2
  59. package/dist/nodes/vector_store/VectorStoreWeaviate/Weaviate.utils.js +20 -2
  60. package/dist/nodes/vector_store/VectorStoreWeaviate/Weaviate.utils.js.map +1 -1
  61. package/dist/nodes/vendors/Microsoft/microsoft-utils.d.ts +1 -1
  62. package/dist/nodes/vendors/Microsoft/microsoft-utils.js +60 -39
  63. package/dist/nodes/vendors/Microsoft/microsoft-utils.js.map +1 -1
  64. package/dist/typecheck.tsbuildinfo +1 -1
  65. package/dist/types/credentials.json +3 -2
  66. package/dist/types/nodes.json +1 -1
  67. package/dist/utils/agent-execution/createEngineRequests.js +13 -1
  68. package/dist/utils/agent-execution/createEngineRequests.js.map +1 -1
  69. package/dist/utils/agent-execution/executeEngineAction.d.ts +1 -1
  70. package/dist/utils/agent-execution/executeEngineAction.js +10 -1
  71. package/dist/utils/agent-execution/executeEngineAction.js.map +1 -1
  72. package/dist/utils/agent-execution/index.d.ts +1 -0
  73. package/dist/utils/agent-execution/index.js +3 -1
  74. package/dist/utils/agent-execution/index.js.map +1 -1
  75. package/dist/utils/agent-execution/processHitlResponses.js +3 -2
  76. package/dist/utils/agent-execution/processHitlResponses.js.map +1 -1
  77. package/dist/utils/agent-execution/types.d.ts +2 -0
  78. package/dist/utils/agent-execution/types.js +2 -0
  79. package/dist/utils/agent-execution/types.js.map +1 -1
  80. package/dist/utils/custom-model-endpoint/auth-fetch.d.ts +9 -0
  81. package/dist/utils/custom-model-endpoint/auth-fetch.js +43 -0
  82. package/dist/utils/custom-model-endpoint/auth-fetch.js.map +1 -0
  83. package/dist/utils/custom-model-endpoint/credential-data.d.ts +17 -0
  84. package/dist/utils/custom-model-endpoint/credential-data.js +37 -0
  85. package/dist/utils/custom-model-endpoint/credential-data.js.map +1 -0
  86. package/dist/utils/custom-model-endpoint/headers.d.ts +7 -0
  87. package/dist/utils/custom-model-endpoint/headers.js +42 -0
  88. package/dist/utils/custom-model-endpoint/headers.js.map +1 -0
  89. package/dist/utils/custom-model-endpoint/types.d.ts +20 -0
  90. package/dist/utils/custom-model-endpoint/types.js +3 -0
  91. package/dist/utils/custom-model-endpoint/types.js.map +1 -0
  92. package/dist/utils/normalizeEndpoint.js.map +1 -0
  93. package/dist/utils/schemaParsing.js +1 -3
  94. package/dist/utils/schemaParsing.js.map +1 -1
  95. package/package.json +17 -17
  96. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/normalizeEndpoint.js.map +0 -1
  97. /package/dist/{nodes/llms/LmChatAzureOpenAi/credentials → utils}/normalizeEndpoint.d.ts +0 -0
  98. /package/dist/{nodes/llms/LmChatAzureOpenAi/credentials → utils}/normalizeEndpoint.js +0 -0
@@ -0,0 +1,9 @@
1
+ import type { ICredentialDataDecryptedObject, ICredentialType, IHttpRequestOptions, INodeProperties, Icon } from 'n8n-workflow';
2
+ export declare class CustomModelEndpointApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ icon: Icon;
7
+ properties: INodeProperties[];
8
+ authenticate(credentials: ICredentialDataDecryptedObject, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
9
+ }
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomModelEndpointApi = void 0;
4
+ const credential_data_1 = require("../utils/custom-model-endpoint/credential-data");
5
+ const headers_1 = require("../utils/custom-model-endpoint/headers");
6
+ class CustomModelEndpointApi {
7
+ constructor() {
8
+ this.name = 'customModelEndpointApi';
9
+ this.displayName = 'Custom Model Endpoint';
10
+ this.documentationUrl = 'custommodelendpoint';
11
+ this.icon = {
12
+ light: 'file:icons/customModelEndpoint.svg',
13
+ dark: 'file:icons/customModelEndpoint.dark.svg',
14
+ };
15
+ this.properties = [
16
+ {
17
+ displayName: 'Base URL',
18
+ name: 'url',
19
+ type: 'string',
20
+ required: true,
21
+ default: '',
22
+ placeholder: 'https://my-gateway.example.com/v1',
23
+ description: 'The root URL of the OpenAI-compatible API. n8n adds the paths, such as /chat/completions, to it.',
24
+ },
25
+ {
26
+ displayName: 'Authentication',
27
+ name: 'authentication',
28
+ type: 'options',
29
+ options: [
30
+ {
31
+ name: 'Bearer Token',
32
+ value: 'bearer',
33
+ description: 'Send the key as "Authorization: Bearer <key>"',
34
+ },
35
+ {
36
+ name: 'API Key in Header',
37
+ value: 'header',
38
+ description: 'Send the key in a header with a name that you choose',
39
+ },
40
+ {
41
+ name: 'Basic Auth',
42
+ value: 'basic',
43
+ description: 'Send a user name and a password',
44
+ },
45
+ {
46
+ name: 'None',
47
+ value: 'none',
48
+ description: 'Send no login',
49
+ },
50
+ ],
51
+ default: 'bearer',
52
+ },
53
+ {
54
+ displayName: 'API Key',
55
+ name: 'apiKey',
56
+ type: 'string',
57
+ typeOptions: { password: true },
58
+ required: true,
59
+ default: '',
60
+ displayOptions: { show: { authentication: ['bearer', 'header'] } },
61
+ },
62
+ {
63
+ displayName: 'Header Name',
64
+ name: 'authHeaderName',
65
+ type: 'string',
66
+ required: true,
67
+ default: '',
68
+ placeholder: 'Ocp-Apim-Subscription-Key',
69
+ description: 'The name of the header that carries the key',
70
+ displayOptions: { show: { authentication: ['header'] } },
71
+ },
72
+ {
73
+ displayName: 'Header Value Prefix',
74
+ name: 'authHeaderPrefix',
75
+ type: 'string',
76
+ default: '',
77
+ placeholder: 'e.g. Token',
78
+ description: 'Text that n8n puts before the key, followed by one space. Leave it empty to send the key alone.',
79
+ displayOptions: { show: { authentication: ['header'] } },
80
+ },
81
+ {
82
+ displayName: 'User Name',
83
+ name: 'username',
84
+ type: 'string',
85
+ required: true,
86
+ default: '',
87
+ displayOptions: { show: { authentication: ['basic'] } },
88
+ },
89
+ {
90
+ displayName: 'Password',
91
+ name: 'password',
92
+ type: 'string',
93
+ typeOptions: { password: true },
94
+ default: '',
95
+ displayOptions: { show: { authentication: ['basic'] } },
96
+ },
97
+ {
98
+ displayName: 'Gateway Headers',
99
+ name: 'gatewayHeaders',
100
+ type: 'fixedCollection',
101
+ typeOptions: { multipleValues: true },
102
+ placeholder: 'Add Header',
103
+ default: {},
104
+ description: 'Headers that n8n sends on every request to this endpoint, including the model list. The values are secret and fixed.',
105
+ options: [
106
+ {
107
+ displayName: 'Header',
108
+ name: 'headers',
109
+ values: [
110
+ { displayName: 'Name', name: 'name', type: 'string', default: '' },
111
+ {
112
+ displayName: 'Value',
113
+ name: 'value',
114
+ type: 'string',
115
+ typeOptions: { password: true },
116
+ default: '',
117
+ },
118
+ ],
119
+ },
120
+ ],
121
+ },
122
+ ];
123
+ }
124
+ async authenticate(credentials, requestOptions) {
125
+ requestOptions.headers = (0, headers_1.buildRequestHeaders)({
126
+ endpoint: (0, credential_data_1.readCustomModelEndpointCredential)(credentials),
127
+ requestHeaders: (0, headers_1.toHeaderRecord)(requestOptions.headers),
128
+ });
129
+ return requestOptions;
130
+ }
131
+ }
132
+ exports.CustomModelEndpointApi = CustomModelEndpointApi;
133
+ //# sourceMappingURL=CustomModelEndpointApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomModelEndpointApi.credentials.js","sourceRoot":"","sources":["../../credentials/CustomModelEndpointApi.credentials.ts"],"names":[],"mappings":";;;AAQA,oFAAmG;AACnG,oEAA6F;AAE7F;IAAA;QACC,SAAI,GAAG,wBAAwB,CAAC;QAEhC,gBAAW,GAAG,uBAAuB,CAAC;QAEtC,qBAAgB,GAAG,qBAAqB,CAAC;QAEzC,SAAI,GAAS;YACZ,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,yCAAyC;SAC/C,CAAC;QAEF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,mCAAmC;gBAChD,WAAW,EACV,kGAAkG;aACnG;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,cAAc;wBACpB,KAAK,EAAE,QAAQ;wBACf,WAAW,EAAE,+CAA+C;qBAC5D;oBACD;wBACC,IAAI,EAAE,mBAAmB;wBACzB,KAAK,EAAE,QAAQ;wBACf,WAAW,EAAE,sDAAsD;qBACnE;oBACD;wBACC,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,O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U;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,cAAc,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;aACvD;YACD;gBACC,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,iBAAiB;gBACvB,WAAW,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;gBACrC,WAAW,EAAE,YAAY;gBACzB,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,sHAAsH;gBACvH,OAAO,EAAE;oBACR;wBACC,WAAW,EAAE,QAAQ;wBACrB,IAAI,EAAE,SAAS;wBACf,MAAM,EAAE;4BACP,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;4BAClE;gCACC,WAAW,EAAE,OAAO;gCACpB,IAAI,EAAE,OAAO;gCACb,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gCAC/B,OAAO,EAAE,EAAE;6BACX;yBACD;qBACD;iBACD;aACD;SACD,CAAC;IAYH,CAAC;IAVA,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,cAAc,CAAC,OAAO,GAAG,IAAA,6BAAmB,EAAC;YAC5C,QAAQ,EAAE,IAAA,mDAAiC,EAAC,WAAW,CAAC;YACxD,cAAc,EAAE,IAAA,wBAAc,EAAC,cAAc,CAAC,OAAO,CAAC;SACtD,CAAC,CAAC;QACH,OAAO,cAAc,CAAC;IACvB,CAAC;CACD"}
@@ -9,10 +9,11 @@ class McpOAuth2Api {
9
9
  this.documentationUrl = 'mcp';
10
10
  this.properties = [
11
11
  {
12
- displayName: 'Use Dynamic Client Registration',
12
+ displayName: 'Register Client Automatically',
13
13
  name: 'useDynamicClientRegistration',
14
14
  type: 'boolean',
15
15
  default: true,
16
+ description: "When on, n8n identifies itself automatically: it uses a Client ID Metadata Document (CIMD) when the server supports CIMD, S256 PKCE, and public clients, and your instance has CIMD enabled; otherwise it uses Dynamic Client Registration (DCR). CIMD does not send a registration request. Turn it off if the provider gives you a fixed client ID and secret, requires you to register a redirect URL, or doesn't support automatic registration.",
16
17
  },
17
18
  {
18
19
  displayName: 'Resource URL',
@@ -1 +1 @@
1
- {"version":3,"file":"McpOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/McpOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,gBAAgB,CAAC;QAE/B,qBAAgB,GAAG,KAAK,CAAC;QAEzB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,iCAAiC;gBAC9C,IAAI,EAAE,8BAA8B;gBACpC,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;aACb;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE;gBAC1B,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,2IAA2I;aAC5I;SACD,CAAC;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"McpOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/McpOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,gBAAgB,CAAC;QAE/B,qBAAgB,GAAG,KAAK,CAAC;QAEzB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,+BAA+B;gBAC5C,IAAI,EAAE,8BAA8B;gBACpC,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;gBACb,WAAW,EACV,sbAAsb;aACvb;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE;gBAC1B,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,2IAA2I;aAC5I;SACD,CAAC;IACH,CAAC;CAAA"}
@@ -124,6 +124,20 @@ class WeaviateApi {
124
124
  },
125
125
  },
126
126
  },
127
+ {
128
+ displayName: 'Custom Connection gRPC Proxy',
129
+ name: 'custom_connection_grpc_proxy',
130
+ description: 'The URL of an HTTP proxy for gRPC requests. Leave empty to connect directly.',
131
+ placeholder: 'http://proxy.example.com:3128',
132
+ type: 'string',
133
+ typeOptions: { password: true },
134
+ default: '',
135
+ displayOptions: {
136
+ show: {
137
+ connection_type: ['custom_connection'],
138
+ },
139
+ },
140
+ },
127
141
  ];
128
142
  this.test = {
129
143
  request: {
@@ -1 +1 @@
1
- {"version":3,"file":"WeaviateApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeaviateApi.credentials.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,sBAAsB,CAAC;QAErC,qBAAgB,GAAG,gEAAgE,CAAC;QAEpF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,gBAAgB;wBACtB,KAAK,EAAE,gBAAgB;qBACvB;oBACD;wBACC,IAAI,EAAE,mBAAmB;wBACzB,KAAK,EAAE,mBAAmB;qBAC1B;iBACD;gBACD,OAAO,EAAE,gBAAgB;gBACzB,WAAW,EACV,uFAAuF;aACxF;YACD;gBACC,WAA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D;YACD;gBACC,WAAW,EAAE,6BAA6B;gBAC1C,IAAI,EAAE,6BAA6B;gBACnC,WAAW,EAAE,0CAA0C;gBACvD,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,UAAU;gBACnB,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,eAAe,EAAE,CAAC,mBAAmB,CAAC;qBACtC;iBACD;aACD;YACD;gBACC,WAAW,EAAE,6BAA6B;gBAC1C,IAAI,EAAE,6BAA6B;gBACnC,WAAW,EAAE,0CAA0C;gBACvD,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,KAAK;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,eAAe,EAAE,CAAC,mBAAmB,CAAC;qBACtC;iBACD;aACD;YACD;gBACC,WAAW,EAAE,+BAA+B;gBAC5C,IAAI,EAAE,+BAA+B;gBACrC,WAAW,EAAE,8CAA8C;gBAC3D,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,KAAK;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,eAAe,EAAE,CAAC,mBAAmB,CAAC;qBACtC;iBACD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EACN,iaAAia;gBACla,GAAG,EAAE,WAAW;gBAChB,qBAAqB,EAAE,KAAK;gBAC5B,OAAO,EAAE;oBACR,aAAa,EACZ,+FAA+F;iBAChG;aACD;SACD,CAAC;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"WeaviateApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeaviateApi.credentials.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,sBAAsB,CAAC;QAErC,qBAAgB,GAAG,gEAAgE,CAAC;QAEpF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE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EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,eAAe,EAAE,CAAC,mBAAmB,CAAC;qBACtC;iBACD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EACN,iaAAia;gBACla,GAAG,EAAE,WAAW;gBAChB,qBAAqB,EAAE,KAAK;gBAC5B,OAAO,EAAE;oBACR,aAAa,EACZ,+FAA+F;iBAChG;aACD;SACD,CAAC;IACH,CAAC;CAAA"}
@@ -0,0 +1 @@
1
+ <svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="#e5e7eb" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><title>Custom Model Endpoint</title><path d="M9 3v5M15 3v5"/><path d="M6 8h12v4a6 6 0 0 1-12 0V8z"/><path d="M12 18v3"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="#3b3f4b" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><title>Custom Model Endpoint</title><path d="M9 3v5M15 3v5"/><path d="M6 8h12v4a6 6 0 0 1-12 0V8z"/><path d="M12 18v3"/></svg>
@@ -69,6 +69,10 @@
69
69
  "rerankerCohere"
70
70
  ]
71
71
  },
72
+ "customModelEndpointApi": {
73
+ "className": "CustomModelEndpointApi",
74
+ "sourcePath": "dist/credentials/CustomModelEndpointApi.credentials.js"
75
+ },
72
76
  "daytonaApi": {
73
77
  "className": "DaytonaApi",
74
78
  "sourcePath": "dist/credentials/DaytonaApi.credentials.js"
@@ -1 +1 @@
1
- b87d06eafe9357f2d3f76f8f4dfd1f1bc604e4044cf7ae9243243244d8aae86d
1
+ 30937bee969f9e1b4bf81b55b24937d66a0d422f852e49ec2058cf435f5dc8f2
@@ -60,7 +60,8 @@ export type LcVectorStoreWeaviateV1InsertParams = {
60
60
  * @default 30
61
61
  */
62
62
  timeout_query?: number | Expression<number>;
63
- /** Proxy to use for GRPC
63
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
64
+ * @hint Set the gRPC proxy in the Weaviate credential instead
64
65
  */
65
66
  proxy_grpc?: string | Expression<string>;
66
67
  /** Whether to clear the Collection/Tenant before inserting new data
@@ -110,7 +110,8 @@ export type LcVectorStoreWeaviateV1LoadParams = {
110
110
  * @default 30
111
111
  */
112
112
  timeout_query?: number | Expression<number>;
113
- /** Proxy to use for GRPC
113
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
114
+ * @hint Set the gRPC proxy in the Weaviate credential instead
114
115
  */
115
116
  proxy_grpc?: string | Expression<string>;
116
117
  };
@@ -101,7 +101,8 @@ export type LcVectorStoreWeaviateV1RetrieveParams = {
101
101
  * @default 30
102
102
  */
103
103
  timeout_query?: number | Expression<number>;
104
- /** Proxy to use for GRPC
104
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
105
+ * @hint Set the gRPC proxy in the Weaviate credential instead
105
106
  */
106
107
  proxy_grpc?: string | Expression<string>;
107
108
  };
@@ -124,7 +124,8 @@ export type LcVectorStoreWeaviateV1RetrieveAsToolParams = {
124
124
  * @default 30
125
125
  */
126
126
  timeout_query?: number | Expression<number>;
127
- /** Proxy to use for GRPC
127
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
128
+ * @hint Set the gRPC proxy in the Weaviate credential instead
128
129
  */
129
130
  proxy_grpc?: string | Expression<string>;
130
131
  };
@@ -65,7 +65,8 @@ export type LcVectorStoreWeaviateV11InsertParams = {
65
65
  * @default 30
66
66
  */
67
67
  timeout_query?: number | Expression<number>;
68
- /** Proxy to use for GRPC
68
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
69
+ * @hint Set the gRPC proxy in the Weaviate credential instead
69
70
  */
70
71
  proxy_grpc?: string | Expression<string>;
71
72
  /** Whether to clear the Collection/Tenant before inserting new data
@@ -110,7 +110,8 @@ export type LcVectorStoreWeaviateV11LoadParams = {
110
110
  * @default 30
111
111
  */
112
112
  timeout_query?: number | Expression<number>;
113
- /** Proxy to use for GRPC
113
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
114
+ * @hint Set the gRPC proxy in the Weaviate credential instead
114
115
  */
115
116
  proxy_grpc?: string | Expression<string>;
116
117
  };
@@ -101,7 +101,8 @@ export type LcVectorStoreWeaviateV11RetrieveParams = {
101
101
  * @default 30
102
102
  */
103
103
  timeout_query?: number | Expression<number>;
104
- /** Proxy to use for GRPC
104
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
105
+ * @hint Set the gRPC proxy in the Weaviate credential instead
105
106
  */
106
107
  proxy_grpc?: string | Expression<string>;
107
108
  };
@@ -124,7 +124,8 @@ export type LcVectorStoreWeaviateV11RetrieveAsToolParams = {
124
124
  * @default 30
125
125
  */
126
126
  timeout_query?: number | Expression<number>;
127
- /** Proxy to use for GRPC
127
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
128
+ * @hint Set the gRPC proxy in the Weaviate credential instead
128
129
  */
129
130
  proxy_grpc?: string | Expression<string>;
130
131
  };
@@ -65,7 +65,8 @@ export type LcVectorStoreWeaviateV12InsertParams = {
65
65
  * @default 30
66
66
  */
67
67
  timeout_query?: number | Expression<number>;
68
- /** Proxy to use for GRPC
68
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
69
+ * @hint Set the gRPC proxy in the Weaviate credential instead
69
70
  */
70
71
  proxy_grpc?: string | Expression<string>;
71
72
  /** Whether to clear the Collection/Tenant before inserting new data
@@ -110,7 +110,8 @@ export type LcVectorStoreWeaviateV12LoadParams = {
110
110
  * @default 30
111
111
  */
112
112
  timeout_query?: number | Expression<number>;
113
- /** Proxy to use for GRPC
113
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
114
+ * @hint Set the gRPC proxy in the Weaviate credential instead
114
115
  */
115
116
  proxy_grpc?: string | Expression<string>;
116
117
  };
@@ -101,7 +101,8 @@ export type LcVectorStoreWeaviateV12RetrieveParams = {
101
101
  * @default 30
102
102
  */
103
103
  timeout_query?: number | Expression<number>;
104
- /** Proxy to use for GRPC
104
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
105
+ * @hint Set the gRPC proxy in the Weaviate credential instead
105
106
  */
106
107
  proxy_grpc?: string | Expression<string>;
107
108
  };
@@ -124,7 +124,8 @@ export type LcVectorStoreWeaviateV12RetrieveAsToolParams = {
124
124
  * @default 30
125
125
  */
126
126
  timeout_query?: number | Expression<number>;
127
- /** Proxy to use for GRPC
127
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
128
+ * @hint Set the gRPC proxy in the Weaviate credential instead
128
129
  */
129
130
  proxy_grpc?: string | Expression<string>;
130
131
  };
@@ -65,7 +65,8 @@ export type LcVectorStoreWeaviateV13InsertParams = {
65
65
  * @default 30
66
66
  */
67
67
  timeout_query?: number | Expression<number>;
68
- /** Proxy to use for GRPC
68
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
69
+ * @hint Set the gRPC proxy in the Weaviate credential instead
69
70
  */
70
71
  proxy_grpc?: string | Expression<string>;
71
72
  /** Whether to clear the Collection/Tenant before inserting new data
@@ -110,7 +110,8 @@ export type LcVectorStoreWeaviateV13LoadParams = {
110
110
  * @default 30
111
111
  */
112
112
  timeout_query?: number | Expression<number>;
113
- /** Proxy to use for GRPC
113
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
114
+ * @hint Set the gRPC proxy in the Weaviate credential instead
114
115
  */
115
116
  proxy_grpc?: string | Expression<string>;
116
117
  };
@@ -101,7 +101,8 @@ export type LcVectorStoreWeaviateV13RetrieveParams = {
101
101
  * @default 30
102
102
  */
103
103
  timeout_query?: number | Expression<number>;
104
- /** Proxy to use for GRPC
104
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
105
+ * @hint Set the gRPC proxy in the Weaviate credential instead
105
106
  */
106
107
  proxy_grpc?: string | Expression<string>;
107
108
  };
@@ -120,7 +120,8 @@ export type LcVectorStoreWeaviateV13RetrieveAsToolParams = {
120
120
  * @default 30
121
121
  */
122
122
  timeout_query?: number | Expression<number>;
123
- /** Proxy to use for GRPC
123
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
124
+ * @hint Set the gRPC proxy in the Weaviate credential instead
124
125
  */
125
126
  proxy_grpc?: string | Expression<string>;
126
127
  };
@@ -65,7 +65,8 @@ export type LcVectorStoreWeaviateV14InsertParams = {
65
65
  * @default 30
66
66
  */
67
67
  timeout_query?: number | Expression<number>;
68
- /** Proxy to use for GRPC
68
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
69
+ * @hint Set the gRPC proxy in the Weaviate credential instead
69
70
  */
70
71
  proxy_grpc?: string | Expression<string>;
71
72
  /** Whether to clear the Collection/Tenant before inserting new data
@@ -110,7 +110,8 @@ export type LcVectorStoreWeaviateV14LoadParams = {
110
110
  * @default 30
111
111
  */
112
112
  timeout_query?: number | Expression<number>;
113
- /** Proxy to use for GRPC
113
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
114
+ * @hint Set the gRPC proxy in the Weaviate credential instead
114
115
  */
115
116
  proxy_grpc?: string | Expression<string>;
116
117
  };
@@ -101,7 +101,8 @@ export type LcVectorStoreWeaviateV14RetrieveParams = {
101
101
  * @default 30
102
102
  */
103
103
  timeout_query?: number | Expression<number>;
104
- /** Proxy to use for GRPC
104
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
105
+ * @hint Set the gRPC proxy in the Weaviate credential instead
105
106
  */
106
107
  proxy_grpc?: string | Expression<string>;
107
108
  };
@@ -120,7 +120,8 @@ export type LcVectorStoreWeaviateV14RetrieveAsToolParams = {
120
120
  * @default 30
121
121
  */
122
122
  timeout_query?: number | Expression<number>;
123
- /** Proxy to use for GRPC
123
+ /** Proxy to use for GRPC. Applies only when the credential has no gRPC proxy, and needs "Custom Connection gRPC Secure" when the credential has an API key.
124
+ * @hint Set the gRPC proxy in the Weaviate credential instead
124
125
  */
125
126
  proxy_grpc?: string | Expression<string>;
126
127
  };
@@ -110,9 +110,11 @@ class EmbeddingsGoogleGemini {
110
110
  this.logger.debug('Supply data for embeddings Google Gemini');
111
111
  const modelName = this.getNodeParameter('modelName', itemIndex, 'models/gemini-embedding-001');
112
112
  const credentials = await this.getCredentials('googlePalmApi');
113
+ const egressFilter = this.helpers.getSecureEgressFilter();
113
114
  const embeddings = new google_genai_1.GoogleGenerativeAIEmbeddings({
114
115
  apiKey: credentials.apiKey,
115
116
  baseUrl: credentials.host,
117
+ fetch: async (input, init) => await (0, ai_utilities_1.proxyFetch)({ input, init, egressFilter }),
116
118
  model: modelName,
117
119
  });
118
120
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"EmbeddingsGoogleGemini.node.js","sourceRoot":"","sources":["../../../../nodes/embeddings/EmbeddingsGoogleGemini/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GoogleGemini.node.js","sourceRoot":"","sources":["../../../../nodes/embeddings/EmbeddingsGoogleGemini/EmbeddingsGoogleGemini.node.ts"],"names":[],"mappings":";;;AAAA,0DAAuE;AACvE,+CAMsB;AAEtB,oDAAyF;AAEzF;IAAA;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,8BAA8B;YAC3C,QAAQ,EAAE;gBACT,IAAI,EAAE,0BAA0B;aAChC;YACD,eAAe,EAAE;gBAChB,sBAAsB,EAAE,IAAI;gBAC5B,OAAO,EAAE,0BAA0B;aACnC;YACD,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,eAAe;oBACrB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,KAAK,EAAE;gBACN,UAAU,EAAE,CAAC,IAAI,CAAC;gBAClB,aAAa,EAAE;oBACd,EAAE,EAAE,CAAC,YAAY,CAAC;iBAClB;gBACD,SAAS,EAAE;oBACV,oBAAoB,EAAE;wBACrB;4BACC,GAAG,EAAE,8GAA8G;yBACnH;qBACD;iBACD;aACD;YAED,MAAM,EAAE,EAAE;YAEV,OAAO,EAAE,CAAC,kCAAmB,CAAC,WAAW,CAAC;YAC1C,WAAW,EAAE,CAAC,YAAY,CAAC;YAC3B,UAAU,EAAE;gBACX,IAAA,2CAA4B,EAAC,CAAC,kCAAmB,CAAC,aAAa,CAAC,CAAC;gBACjE;oBACC,WAAW,EACV,iMAAiM;oBAClM,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE;iBACX;gBACD;oBACC,WAAW,EAAE,OAAO;oBACpB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,WAAW,EACV,wJAAwJ;oBACzJ,WAAW,EAAE;wBACZ,WAAW,EAAE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AAE,IAAkB,EAAE,EAAE,CAC7D,MAAM,IAAA,yBAAU,EAAC,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;YAChD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QAEH,OAAO;YACN,QAAQ,EAAE,IAAA,yBAAU,EAAC,UAAU,EAAE,IAAI,CAAC;SACtC,CAAC;IACH,CAAC;CACD"}
@@ -44,6 +44,9 @@ class EmbeddingsLemonade {
44
44
  const configuration = {
45
45
  fetch: ai_utilities_1.aiClientFetch,
46
46
  baseURL: credentials.baseUrl,
47
+ fetchOptions: {
48
+ dispatcher: (0, ai_utilities_1.getProxyAgent)(credentials.baseUrl, {}, this.helpers.getSecureEgressFilter()),
49
+ },
47
50
  };
48
51
  if (credentials.apiKey) {
49
52
  configuration.defaultHeaders = {
@@ -1 +1 @@
1
- {"version":3,"file":"EmbeddingsLemonade.node.js","sourceRoot":"","sources":["../../../../nodes/embeddings/EmbeddingsLemonade/EmbeddingsLemonade.node.ts"],"names":[],"mappings":";;;AAAA,8CAAqD;AACrD,+CAMsB;AAItB,oDAA4F;AAE5F,mEAAuF;AAEvF;IAAA;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,oBAAoB;YAC1B,IAAI,EAAE,mBAAmB;YACzB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,yBAAyB;YACtC,QAAQ,EAAE;gBACT,IAAI,EAAE,qBAAqB;aAC3B;YACD,GAAG,iCAAmB;YACtB,KAAK,EAAE;gBACN,UAAU,EAAE,CAAC,IAAI,CAAC;gBAClB,aAAa,EAAE;oBACd,EAAE,EAAE,CAAC,YAAY,CAAC;iBAClB;gBACD,SAAS,EAAE;oBACV,oBAAoB,EAAE;wBACrB;4BACC,GAAG,EAAE,0GAA0G;yBAC/G;qBACD;iBACD;aACD;YAED,MAAM,EAAE,EAAE;YAEV,OAAO,EAAE,CAAC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;aAC7C,CAAC;QACH,CAAC;QAED,MAAM,UAAU,GAAG,IAAI,yBAAgB,CAAC;YACvC,MAAM;YACN,KAAK,EAAE,SAAS;YAChB,aAAa;SACb,CAAC,CAAC;QAEH,OAAO;YACN,QAAQ,EAAE,IAAA,yBAAU,EAAC,UAAU,EAAE,IAAI,CAAC;SACtC,CAAC;IACH,CAAC;CACD"}
@@ -58,6 +58,9 @@ class LmLemonade {
58
58
  const configuration = {
59
59
  fetch: ai_utilities_1.aiClientFetch,
60
60
  baseURL: credentials.baseUrl,
61
+ fetchOptions: {
62
+ dispatcher: (0, ai_utilities_1.getProxyAgent)(credentials.baseUrl, {}, this.helpers.getSecureEgressFilter()),
63
+ },
61
64
  };
62
65
  if (credentials.apiKey) {
63
66
  configuration.defaultHeaders = {
@@ -1 +1 @@
1
- {"version":3,"file":"LmLemonade.node.js","sourceRoot":"","sources":["../../../../nodes/llms/LMLemonade/LmLemonade.node.ts"],"names":[],"mappings":";;;AAAA,8CAA2C;AAC3C,+CAMsB;AAItB,+CAAoF;AACpF,oDAK2B;AAE3B;IAAA;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAE7B,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,mBAAmB;YACzB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,yBAAyB;YACtC,QAAQ,EAAE;gBACT,IAAI,EAAE,gBAAgB;aACtB;YACD,KAAK,EAAE;gBACN,UAAU,EAAE,CAAC,IAAI,CAAC;gBAClB,aAAa,EAAE;oBACd,EAAE,EAAE,CAAC,iBAAiB,EAAE,YAAY,CAAC;oBACrC,iBAAiB,EAAE,CAAC,wBAAwB,CAAC;iBAC7C;gBACD,SAAS,EAAE;oBACV,oBAAoB,EAAE;wBACrB;4BACC,GAAG,EAAE,kGAAkG;yBACvG;qBACD;iBACD;aACD;YAED,MAAM,EAAE,EAAE;YAEV,OAAO,EAAE,CAAC,kCAAmB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AAU,WAAW,CAAC,MAAM,EAAE;aAC7C,CAAC;QACH,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,eAAM,CAAC;YACxB,MAAM;YACN,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;YAC1C,eAAe,EAAE,OAAO,CAAC,eAAe;YACxC,SAAS,EAAE,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;YACrF,IAAI;YACJ,aAAa;YACb,SAAS,EAAE,CAAC,IAAI,4BAAa,CAAC,IAAI,CAAC,CAAC;YACpC,eAAe,EAAE,IAAA,6CAA8B,EAAC,IAAI,CAAC;SACrD,CAAC,CAAC;QAEH,OAAO;YACN,QAAQ,EAAE,KAAK;SACf,CAAC;IACH,CAAC;CACD"}
1
+ {"version":3,"file":"LmLemonade.node.js","sourceRoot":"","sources":["../../../../nodes/llms/LMLemonade/LmLemonade.node.ts"],"names":[],"mappings":";;;AAAA,8CAA2C;AAC3C,+CAMsB;AAItB,+CAAoF;AACpF,oDAM2B;AAE3B;IAAA;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAE7B,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,mBAAmB;YACzB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,yBAAyB;YACtC,QAAQ,EAAE;gBACT,IAAI,EAAE,gBAAgB;aACtB;YACD,KAAK,EAAE;gBACN,UAAU,EAAE,CAAC,IAAI,CAAC;gBAClB,aAAa,EAAE;oBACd,EAAE,EAAE,CAAC,iBAAiB,EAAE,YAAY,CAAC;oBACrC,iBAAiB,EAAE,CAAC,wBAAwB,CAAC;iBAC7C;gBACD,SAAS,EAAE;oBACV,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,WAAW,CAAC,OAAO;YAC5B,YAAY,EAAE;gBACb,UAAU,EAAE,IAAA,4BAAa,EAAC,WAAW,CAAC,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC;aACxF;SACD,CAAC;QAGF,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;YACxB,aAAa,CAAC,cAAc,GAAG;gBAC9B,aAAa,EAAE,UAAU,WAAW,CAAC,MAAM,EAAE;aAC7C,CAAC;QACH,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,eAAM,CAAC;YACxB,MAAM;YACN,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;YAC1C,eAAe,EAAE,OAAO,CAAC,eAAe;YACxC,SAAS,EAAE,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;YACrF,IAAI;YACJ,aAAa;YACb,SAAS,EAAE,CAAC,IAAI,4BAAa,CAAC,IAAI,CAAC,CAAC;YACpC,eAAe,EAAE,IAAA,6CAA8B,EAAC,IAAI,CAAC;SACrD,CAAC,CAAC;QAEH,OAAO;YACN,QAAQ,EAAE,KAAK;SACf,CAAC;IACH,CAAC;CACD"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.setupApiKeyAuthentication = setupApiKeyAuthentication;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
- const normalizeEndpoint_1 = require("./normalizeEndpoint");
6
5
  const requireFoundryEndpoint_1 = require("./requireFoundryEndpoint");
6
+ const normalizeEndpoint_1 = require("../../../../utils/normalizeEndpoint");
7
7
  async function setupApiKeyAuthentication(credentialName) {
8
8
  try {
9
9
  const configCredentials = await this.getCredentials(credentialName);
@@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AC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC;YACtF,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,mFAAmF,CACnF,CAAC;QACH,CAAC;QAED,OAAO;YACN,iBAAiB,EAAE,iBAAiB,CAAC,MAAM;YAC3C,0BAA0B,EAAE,iBAAiB,CAAC,YAAY;YAC1D,qBAAqB,EAAE,iBAAiB,CAAC,UAAU;YACnD,mBAAmB,EAAE,IAAA,qCAAiB,EAAC,iBAAiB,CAAC,QAAQ,CAAC;SAClE,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,IAAI,KAAK,YAAY,+BAAgB,EAAE,CAAC;YACvC,MAAM,KAAK,CAAC;QACb,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,4CAA4C,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC;QAEtF,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,4BAA4B,EAAE,KAAK,CAAC,CAAC;IACnF,CAAC;AACF,CAAC"}
@@ -4,8 +4,8 @@ exports.setupOAuth2Authentication = setupOAuth2Authentication;
4
4
  const identity_1 = require("@azure/identity");
5
5
  const n8n_workflow_1 = require("n8n-workflow");
6
6
  const N8nOAuth2TokenCredential_1 = require("./N8nOAuth2TokenCredential");
7
- const normalizeEndpoint_1 = require("./normalizeEndpoint");
8
7
  const requireFoundryEndpoint_1 = require("./requireFoundryEndpoint");
8
+ const normalizeEndpoint_1 = require("../../../../utils/normalizeEndpoint");
9
9
  const types_1 = require("../types");
10
10
  async function setupOAuth2Authentication(credentialName) {
11
11
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"oauth2.js","sourceRoot":"","sources":["../../../../../nodes/llms/LmChatAzureOpenAi/credentials/oauth2.ts"],"names":[],"mappings":";;;AAAA,8CAAyD;AACzD,+CA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AK,CAAC,CAAC;QAEvF,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,6CAA6C,KAAK,CAAC,OAAO,EAAE,EAC5D,KAAK,CACL,CAAC;IACH,CAAC;AACF,CAAC"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.requireFoundryEndpoint = requireFoundryEndpoint;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
- const normalizeEndpoint_1 = require("./normalizeEndpoint");
5
+ const normalizeEndpoint_1 = require("../../../../utils/normalizeEndpoint");
6
6
  function requireFoundryEndpoint(node, foundryEndpoint) {
7
7
  const endpoint = (0, normalizeEndpoint_1.normalizeEndpoint)(foundryEndpoint);
8
8
  if (!endpoint) {
@@ -1 +1 @@
1
- {"version":3,"file":"requireFoundryEndpoint.js","sourceRoot":"","sources":["../../../../../nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAE9D,2DAAwD;AAOxD,gCAAuC,IAAW,EAAE,eAAmC;IACtF,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,eAAe,CAAC,CAAC;IACpD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,MAAM,IAAI,iCAAkB,CAC3B,IAAI,EACJ,2EAA2E,CAC3E,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AACjB,CAAC"}
1
+ {"version":3,"file":"requireFoundryEndpoint.js","sourceRoot":"","sources":["../../../../../nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAE9D,2EAAwE;AAOxE,gCAAuC,IAAW,EAAE,eAAmC;IACtF,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,eAAe,CAAC,CAAC;IACpD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,MAAM,IAAI,iCAAkB,CAC3B,IAAI,EACJ,2EAA2E,CAC3E,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -204,9 +204,11 @@ class LmChatGoogleGemini {
204
204
  topP: 0.9,
205
205
  });
206
206
  const safetySettings = this.getNodeParameter('options.safetySettings.values', itemIndex, null);
207
+ const egressFilter = this.helpers.getSecureEgressFilter();
207
208
  const model = new google_genai_1.ChatGoogleGenerativeAI({
208
209
  apiKey: credentials.apiKey,
209
210
  baseUrl: credentials.host,
211
+ fetch: async (input, init) => await (0, ai_utilities_1.proxyFetch)({ input, init, egressFilter }),
210
212
  model: modelName,
211
213
  topK: options.topK,
212
214
  topP: options.topP,