Added tool calling support (#731)

Co-authored-by: krut_ni <nils.kruthoff@dlr.de>
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-09-04 15:48:07 +02:00
1 parent b00c3f9ab3
commit 4d8d30e15e
266 files changed
+11186 -740

No files matched your search

@@ -70,6 +70,7 @@ public partial class AssistantBatchProcessing
fileResult.Status = BatchProcessingFileStatus.DONE;
fileResult.Message = logEntry.Details;
fileResult.ModelName = logEntry.Model;
fileResult.UsedTools = logEntry.UsedTools;
fileResult.ResultText = previousResults.GetValueOrDefault(relativePath, string.Empty);
if (DateTimeOffset.TryParseExact(logEntry.Time, TIME_FORMAT, CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal, out var processedAt))
@@ -194,7 +195,7 @@ public partial class AssistantBatchProcessing
string aiAnswer;
try
{
aiAnswer = await this.CallAIAsync(fileResult.FileName, fileContent, token);
(aiAnswer, fileResult.UsedTools) = await this.CallAIAsync(fileResult.FileName, fileContent, token);
}
catch (OperationCanceledException)
{