last ...
This commit is contained in:
@@ -8,6 +8,7 @@ using System.Linq.Expressions;
|
||||
using xAiModels.Models.Entities;
|
||||
using System.Collections.Generic;
|
||||
using ModelContextProtocol.Client;
|
||||
using Microsoft.Extensions.AI;
|
||||
|
||||
namespace xAiApi.Interfaces
|
||||
{
|
||||
@@ -25,7 +26,7 @@ namespace xAiApi.Interfaces
|
||||
/// <param name="userInfo"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<IList<McpClientTool>> GetAvailableToolsAsync(
|
||||
Task<IList<AITool>> GetAvailableToolsAsync(
|
||||
bool forceOwner = false,
|
||||
XUserClaimsInfoDto userInfo = null,
|
||||
CancellationToken cancellationToken = default
|
||||
@@ -35,10 +36,14 @@ namespace xAiApi.Interfaces
|
||||
/// Test Specified Mcp Server ...
|
||||
/// </summary>
|
||||
/// <param name="server"></param>
|
||||
/// <param name="connectionId"></param>
|
||||
/// <param name="userInfo"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> TestServerAsync(
|
||||
XAiMcpServerDto server,
|
||||
string connectionId = null,
|
||||
XUserClaimsInfoDto userInfo = null,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user