mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-03-12 23:09:06 +00:00
ERI: use camel case for JSON (#311)
This commit is contained in:
parent
a66d88c989
commit
1d22232005
@ -290,6 +290,7 @@ public partial class AssistantERI : AssistantBaseCore
|
||||
- You consider the security of the implementation by applying the Security by Design principle.
|
||||
- Your output is formatted as Markdown. Code is formatted as code blocks. For every file, you
|
||||
create a separate code block with its file path and name as chapter title.
|
||||
- Important: The JSON objects of the API messages use camel case for the data field names.
|
||||
""");
|
||||
|
||||
return sb.ToString();
|
||||
|
@ -9,7 +9,7 @@ public abstract class ERIClientBase(string baseAddress) : IDisposable
|
||||
{
|
||||
WriteIndented = true,
|
||||
AllowTrailingCommas = true,
|
||||
PropertyNamingPolicy = null,
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||
PropertyNameCaseInsensitive = true,
|
||||
Converters =
|
||||
|
Loading…
Reference in New Issue
Block a user