mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-23 18:10:21 +00:00
Removed unnecessary comment
This commit is contained in:
parent
40e225c24b
commit
4b94e50cb7
@ -530,9 +530,6 @@ public abstract class BaseProvider : IProvider, ISecretId
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// we need to remove line breaks from the JSON string otherwise the server might have problems with parsing the call
|
|
||||||
// var withoutLineBreak = additionalUserProvidedParameters.Replace("\n", string.Empty);
|
|
||||||
|
|
||||||
var json = $"{{{additionalUserProvidedParameters}}}";
|
var json = $"{{{additionalUserProvidedParameters}}}";
|
||||||
var jsonDoc = JsonSerializer.Deserialize<JsonElement>(json, JSON_SERIALIZER_OPTIONS);
|
var jsonDoc = JsonSerializer.Deserialize<JsonElement>(json, JSON_SERIALIZER_OPTIONS);
|
||||||
var dict = this.ConvertToDictionary(jsonDoc);
|
var dict = this.ConvertToDictionary(jsonDoc);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user