Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/integrations/mcp/MCPProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export interface MCPProvider {
serverConfig: MCP.ServerConfigWithId,
): Promise<MCP.Tool[]>;

getHTTPrompts(clientConfig: { name: string; version: string }, serverUrl: string): Promise<MCP.Prompt[]>;
getHTTPPrompts(clientConfig: { name: string; version: string }, serverUrl: string): Promise<MCP.Prompt[]>;

getStdioPrompts(
clientConfig: { name: string; version: string },
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/model/nodes/MCPDiscoveryNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class MCPDiscoveryNodeImpl extends NodeImpl<MCPDiscoveryNode> {
}

tools = await context.mcpProvider.getHTTPTools({ name, version }, serverUrl);
prompts = await context.mcpProvider.getHTTPrompts({ name, version }, serverUrl);
prompts = await context.mcpProvider.getHTTPPrompts({ name, version }, serverUrl);
} else if (transportType === 'stdio') {
const serverId = this.data.serverId ?? '';

Expand Down Expand Up @@ -236,7 +236,7 @@ class MCPDiscoveryNodeImpl extends NodeImpl<MCPDiscoveryNode> {
value: prompts.map((prompt) => ({
name: prompt.name,
description: prompt.description,
arguments: prompt.arugments,
arguments: prompt.arguments,
})),
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const ChatHuggingFaceNodeImpl: PluginNodeImpl<ChatHuggingFaceNode> = {
group: ['AI', 'Hugging Face'],
contextMenuTitle: 'Chat (Hugging Face)',
infoBoxTitle: 'Chat (Hugging Face) Node',
infoBoxBody: 'Chat, using the hugging face inference API',
infoBoxBody: 'Chat, using the Hugging Face inference API',
};
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import type { OpenAIAssistantFile } from '../../../utils/openai.js';
import { dedent, newId, getInputOrData } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';

export type AttachAssistantFileNode = ChartNode<'openaiAttachAssistantFile', AttachAssistantFileNodeData>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { openAiModelOptions, type CreateAssistantBody, type OpenAIAssistantTool } from '../../../utils/openai.js';
import { dedent, newId, coerceTypeOptional, getInputOrData } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';

export type CreateAssistantNode = ChartNode<'openaiCreateAssistant', CreateAssistantNodeData>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import type { CreateMessageBody, OpenAIThreadMessage } from '../../../utils/openai.js';
import { dedent, newId, coerceTypeOptional, getInputOrData } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';

export type CreateThreadMessageNode = ChartNode<'openaiCreateThreadMessage', CreateThreadMessageNodeData>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from '../../../index.js';
import { newId, dedent, getInputOrData } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';

export type DeleteAssistantNode = ChartNode<'openaiDeleteAssistant', DeleteAssistantNodeData>;

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/plugins/openai/nodes/GetAssistantNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '../../../index.js';
import { newId, getInputOrData } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';

export type GetAssistantNode = ChartNode<'openaiGetAssistant', GetAssistantNodeData>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '../../../index.js';
import { newId, getInputOrData, dedent } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';

export type GetOpenAIFileNode = ChartNode<'openaiGetFile', GetOpenAIFileNodeData>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '../../../index.js';
import { newId, getInputOrData, dedent } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';
import type { OpenAIAssistant, OpenAIListResponse, OpenAIPaginationQuery } from '../../../utils/openai.js';

export type ListAssistantsNode = ChartNode<'openaiListAssistants', ListAssistantsNodeData>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '../../../index.js';
import { newId, getInputOrData, dedent } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';
import { openAIFilePurposeOptions, type OpenAIFile } from '../../../utils/openai.js';

export type ListOpenAIFilesNode = ChartNode<'openaiListFiles', ListOpenAIFilesNodeData>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '../../../index.js';
import { newId, getInputOrData, dedent } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';
import type { ListThreadMessagesQuery, OpenAIListResponse, OpenAIThreadMessage } from '../../../utils/openai.js';

export type ListThreadMessagesNode = ChartNode<'openaiListThreadMessages', ListThreadMessagesNodeData>;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/plugins/openai/nodes/RunThreadNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import { dedent, newId, coerceTypeOptional, getInputOrData } from '../../../utils/index.js';
import { arrayizeDataValue, unwrapDataValue } from '../../../model/DataValue.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';
import { type DataValue } from '../../../model/DataValue.js';

export type RunThreadNode = ChartNode<'openaiRunThread', RunThreadNodeData>;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/plugins/openai/nodes/UploadFileNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '../../../index.js';
import { newId, dedent, getInputOrData, coerceType, coerceTypeOptional } from '../../../utils/index.js';
import { pluginNodeDefinition } from '../../../model/NodeDefinition.js';
import { handleOpenAIError } from '../handleOpenaiError.js';
import { handleOpenAIError } from '../handleOpenAIError.js';
import { openAIFileUploadPurposeOptions } from '../../../utils/openai.js';

export type UploadFileNode = ChartNode<'openaiUploadFile', UploadFileNodeData>;
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/native/NodeMCPProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class NodeMCPProvider implements MCPProvider {
}
}

async getHTTPrompts(clientConfig: { name: string; version: string }, serverUrl: string): Promise<MCP.Prompt[]> {
async getHTTPPrompts(clientConfig: { name: string; version: string }, serverUrl: string): Promise<MCP.Prompt[]> {
try {
const client = await this.#getHTTPClient(clientConfig, serverUrl);

Expand Down