mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 23:27:21 +00:00
Generated the JSON contracts of visual briefings and model answers at compile time (#1151)
This commit is contained in:
1 parent
24e3c22db3
commit
770c16e20a
101 files changed
+2333
-392
No files matched your search
+1
-1
@@ -204,7 +204,7 @@ public sealed partial class VisualBriefingArtifactService
|
||||
return context;
|
||||
|
||||
if (path is "$index")
|
||||
return JsonSerializer.SerializeToElement(0);
|
||||
return JsonSerializer.SerializeToElement(0, JSON_OPTIONS);
|
||||
|
||||
if (path.StartsWith(".", StringComparison.Ordinal))
|
||||
return GetDataAtPath(context, path[1..]);
|
||||
|
||||
Reference in new issue
Block a user