Add Support for Default Swagger Parameters Values in appSetting and Add Support for MCPServers Connecting and Handling Function Tooling ...
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using xIdentityHelper;
|
||||
using xAiApi.Providers;
|
||||
using xAiApi.Interfaces;
|
||||
using xCommons.Extensions;
|
||||
using xCommons.Authorization;
|
||||
using System.Collections.Generic;
|
||||
@@ -11,6 +13,17 @@ namespace xAiApi.Extensions
|
||||
{
|
||||
public static class XProgramExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Register MCP Server Provider ...
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
public static void AddXAiMcpServerProvider(
|
||||
this IServiceCollection source
|
||||
)
|
||||
{
|
||||
source.AddScoped<IXAiMcpServerProvider, XAiMcpServerProvider>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Register Authorization Policies
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user