Start Add File Support in Messages Feature ...

This commit is contained in:
2026-09-30 23:13:32 +03:30
parent efaf71d962
commit aac3eb92c1
8 changed files with 314 additions and 163 deletions
+3
View File
@@ -4,6 +4,7 @@ using xCommons.Providers;
using xAiModels.Interfaces;
using xAiApi.Configurations;
using Microsoft.Extensions.AI;
using xFileService.Interfaces;
using Microsoft.Extensions.Logging;
namespace xAiApi.Providers
@@ -11,6 +12,7 @@ namespace xAiApi.Providers
public class XDefaultThinkingAiService : XAIServiceBase, IXDefaultThinkingAiService
{
public XDefaultThinkingAiService(
IXFileProvider fileProvider,
IXAiDataProvider dataProvider,
ILogger<XAIServiceBase> logger,
XAiApiConfiguration configuration,
@@ -18,6 +20,7 @@ namespace xAiApi.Providers
ReasoningEffort effort = ReasoningEffort.Medium,
ReasoningOutput output = ReasoningOutput.Full
) : base(
fileProvider,
dataProvider,
logger,
configuration,