feat(ai): enhance metadata handling and add support for tools, prompt… (#14002)
…s, and resources - Removed unused `ObjectMetadataStandardIdToIdMap`. - Updated Vite config with additional allowed hosts. - Improved MCP service to handle `ping` method and lists for tools, prompts, and resources. - Refactored utility function `isFieldMetadataEntityOfType` for improved type handling. - Expanded MCP metadata service to include tools, prompts, and resources support.
This commit is contained in:
@@ -14,11 +14,11 @@ export class McpMetadataController {
|
||||
constructor(private readonly mCPMetadataService: MCPMetadataService) {}
|
||||
|
||||
@Post()
|
||||
async getMcpMetadata(
|
||||
async handleMcpMetadata(
|
||||
@AuthWorkspace() workspace: Workspace,
|
||||
@Req() request: Request,
|
||||
) {
|
||||
return await this.mCPMetadataService.handleMCPQuery(request, {
|
||||
return await this.mCPMetadataService.handleMCPMetadataQuery(request, {
|
||||
workspace,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user