mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 11:41:38 +00:00
Fixed first line of multi-line text
This commit is contained in:
parent
9bb7b2ac64
commit
8b70051fd6
@ -722,15 +722,15 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<NoSettingsPan
|
|||||||
return $$"""
|
return $$"""
|
||||||
CONFIG["DOCUMENT_ANALYSIS_POLICIES"][#CONFIG["DOCUMENT_ANALYSIS_POLICIES"]+1] = {
|
CONFIG["DOCUMENT_ANALYSIS_POLICIES"][#CONFIG["DOCUMENT_ANALYSIS_POLICIES"]+1] = {
|
||||||
["Id"] = "{{id}}",
|
["Id"] = "{{id}}",
|
||||||
["PolicyName"] = "{{this.selectedPolicy.PolicyName}}",
|
["PolicyName"] = "{{this.selectedPolicy.PolicyName.Trim()}}",
|
||||||
["PolicyDescription"] = "{{this.selectedPolicy.PolicyDescription}}",
|
["PolicyDescription"] = "{{this.selectedPolicy.PolicyDescription.Trim()}}",
|
||||||
|
|
||||||
["AnalysisRules"] = [===[
|
["AnalysisRules"] = [===[
|
||||||
{{this.selectedPolicy.AnalysisRules}}
|
{{this.selectedPolicy.AnalysisRules.Trim()}}
|
||||||
]===],
|
]===],
|
||||||
|
|
||||||
["OutputRules"] = [===[
|
["OutputRules"] = [===[
|
||||||
{{this.selectedPolicy.OutputRules}}
|
{{this.selectedPolicy.OutputRules.Trim()}}
|
||||||
]===],
|
]===],
|
||||||
|
|
||||||
-- Optional: minimum provider confidence required for this policy.
|
-- Optional: minimum provider confidence required for this policy.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user