fix samplescount

This commit is contained in:
2026-02-20 12:34:48 +01:00
parent bf41810966
commit 2c6ca26743
4 changed files with 8 additions and 2 deletions

View File

@@ -39,7 +39,8 @@ namespace AICore.Facade
prompt = "",
description = "",
helpurl = "",
aiactiontype = ""
aiactiontype = "",
samples_count = 0
}
};
@@ -58,7 +59,8 @@ namespace AICore.Facade
Prompt = x.prompt,
OwnsoftRefLink = x.helpurl,
IsOwnsoftPrompt = true,
ActionType = GetAiActionType(x.aiactiontype, aiActionType)
ActionType = GetAiActionType(x.aiactiontype, aiActionType),
SamplesCount = x.samples_count,
});
return data.Where(x => x.ActionType == aiActionType); ;