Compare commits
2 Commits
492c768bdd
...
9591e401f1
| Author | SHA1 | Date | |
|---|---|---|---|
| 9591e401f1 | |||
| 79fa5a0879 |
@@ -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 = "{}";
|
||||
|
||||
|
||||
@@ -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}'");
|
||||
|
||||
Reference in New Issue
Block a user