mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-23 09:10:20 +00:00
Added documentation
This commit is contained in:
parent
871eeecc1d
commit
b62ffad06b
@ -532,6 +532,7 @@ public abstract class BaseProvider : IProvider, ISecretId
|
||||
{
|
||||
try
|
||||
{
|
||||
// Wrap the user-provided parameters in curly brackets to form a valid JSON object:
|
||||
var json = $"{{{additionalUserProvidedParameters}}}";
|
||||
var jsonDoc = JsonSerializer.Deserialize<JsonElement>(json, JSON_SERIALIZER_OPTIONS);
|
||||
var dict = ConvertToDictionary(jsonDoc);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user