mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-23 10:50:21 +00:00
Formatting
This commit is contained in:
parent
4f82b42ff1
commit
ca50aecae1
@ -522,8 +522,10 @@ public abstract class BaseProvider : IProvider, ISecretId
|
|||||||
/// Parse and convert API parameters from a provided JSON string into a dictionary,
|
/// Parse and convert API parameters from a provided JSON string into a dictionary,
|
||||||
/// optionally merging additional parameters and removing specific keys.
|
/// optionally merging additional parameters and removing specific keys.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="additionalUserProvidedParameters">A JSON string (without surrounding braces) containing the API parameters to be parsed.</param>
|
/// <param name="additionalUserProvidedParameters">A JSON string (without surrounding curly brackets)
|
||||||
/// <param name="keysToRemove">Optional list of keys to remove from the final dictionary (case-insensitive). stream, model and messages are removed by default.</param>
|
/// containing the API parameters to be parsed.</param>
|
||||||
|
/// <param name="keysToRemove">Optional list of keys to remove from the final dictionary
|
||||||
|
/// (case-insensitive). The parameters stream, model, and messages are removed by default.</param>
|
||||||
protected IDictionary<string, object> ParseApiParameters(
|
protected IDictionary<string, object> ParseApiParameters(
|
||||||
string additionalUserProvidedParameters,
|
string additionalUserProvidedParameters,
|
||||||
params IEnumerable<string> keysToRemove)
|
params IEnumerable<string> keysToRemove)
|
||||||
|
|||||||
@ -19,5 +19,5 @@ public record ChatCompletionAPIRequest(
|
|||||||
}
|
}
|
||||||
|
|
||||||
[JsonExtensionData]
|
[JsonExtensionData]
|
||||||
public IDictionary<string, object> ? AdditionalApiParameters { get; init; }
|
public IDictionary<string, object>? AdditionalApiParameters { get; init; }
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user