2 Commits

Author SHA1 Message Date
9591e401f1 Umlaute werden falsch escaped 2026-08-04 13:39:48 +02:00
79fa5a0879 action 2026-08-04 13:38:27 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Threading.Tasks;
@@ -13,7 +14,7 @@ namespace AICore.Context.SummaryParser
{
public override string Parse(AiActionType actionType, IContextSummary context)
{
var options = new JsonSerializerOptions { IncludeFields = true };
var options = new JsonSerializerOptions { Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping, IncludeFields = true };
var json = "{}";

View File

@@ -53,7 +53,9 @@ namespace AICore.Facade
_ClientFacade.JsonObject = new
{
client_version = version
client_version = version,
customerid = tenant,
action_type = aiActionType.ToString()
};
_logger.Info($"GetSystemPrompt: Hole aktuellen ownSoft SystemPrompts von '{_ClientFacade.Base_Url}/{method}'");