You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying spring ai MCP server and client , tools are working perfectly and I am able to run the tool function by chatclient but if I ask any question about resources it seems client is not aware of them
Is this missing at the current time or how can introduce my resources to the client
@Bean
ChatClient chatClient(ChatClient.Builder builder,ToolCallbackProvider tools) {
var system = """
You are an AI powered assistant to help emplyee get information about accounts
""";
return builder
.defaultSystem(system)
.defaultTools(tools)
.build();
}
Server response with Protocol: 2024-11-05, Capabilities: ServerCapabilities[experimental=null, logging=LoggingCapabilities[], prompts=PromptCapabilities[listChanged=true], resources=ResourceCapabilities[subscribe=false, listChanged=true], tools=ToolCapabilities[listChanged=true]], Info: Implementation[name=accounts-server, version=1.0.0] and Instructions null
As you can see i am receiving from server Resources but it is not being introduced to model
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying spring ai MCP server and client , tools are working perfectly and I am able to run the tool function by chatclient but if I ask any question about resources it seems client is not aware of them
Is this missing at the current time or how can introduce my resources to the client
As you can see i am receiving from server Resources but it is not being introduced to model
Beta Was this translation helpful? Give feedback.
All reactions