Auf internes Config System umgestiegen

This commit is contained in:
2026-02-20 12:51:18 +01:00
parent 2c6ca26743
commit c6ff7054cf
10 changed files with 38 additions and 20 deletions

View File

@@ -49,8 +49,8 @@ namespace BeWo.Service.Plugins
var context = AiFunctionContextLoader.LoadServiceRecordDocumentationContext(request, prompt_baustein.SamplesCount);
var systemPromptFolderPath = BeWoServerPathHelper.GetAiSystemPromptPath();
var factory = new AiFunctionSystemPromptBuilder(systemPromptFolderPath);
var configPath = ConfigReader.GetConfigPath(SpecialConfig.CustomFunctionPreSystemPrompt);
var factory = new AiFunctionSystemPromptBuilder(configPath);
var system_prompt = factory.CreateServiceRecordDocumentationSystemPrompt(context);
// Anfrage abschicken