From 800cac540a3de6f928bb480e6b63f36418afe986 Mon Sep 17 00:00:00 2001 From: Thomas Vitale Date: Fri, 3 Jan 2025 12:17:00 +0100 Subject: [PATCH] fix(ai): Make methods in McpToolCallbacks public --- .../io/arconia/ai/mcp/tools/McpToolCallbacks.java | 4 ++-- project-catalog.yml | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 project-catalog.yml diff --git a/arconia-ai/arconia-ai-mcp/src/main/java/io/arconia/ai/mcp/tools/McpToolCallbacks.java b/arconia-ai/arconia-ai-mcp/src/main/java/io/arconia/ai/mcp/tools/McpToolCallbacks.java index de0c76b..d09b55f 100644 --- a/arconia-ai/arconia-ai-mcp/src/main/java/io/arconia/ai/mcp/tools/McpToolCallbacks.java +++ b/arconia-ai/arconia-ai-mcp/src/main/java/io/arconia/ai/mcp/tools/McpToolCallbacks.java @@ -11,11 +11,11 @@ */ public final class McpToolCallbacks { - static FunctionCallback[] from(McpSyncClient source) { + public static FunctionCallback[] from(McpSyncClient source) { return McpToolCallbackProvider.builder().mcpClients(source).build().getToolCallbacks(); } - static FunctionCallback[] from(McpAsyncClient source) { + public static FunctionCallback[] from(McpAsyncClient source) { return McpToolCallbackProvider.builder().mcpClients(source).build().getToolCallbacks(); } diff --git a/project-catalog.yml b/project-catalog.yml deleted file mode 100644 index 35c8747..0000000 --- a/project-catalog.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Catalog of projects usable from the Spring CLI (https://docs.spring.io/spring-cli/reference) -# to bootstrap SaaS, multitenant applications using Java and Spring Boot. ---- -project-repositories: - - name: "arconia-web" - description: "Multitenant web application" - url: "https://github.com/arconia-io/spring-project-catalog?subPath=web" - tags: - - "multitenancy" - - "rest" - - "web"