mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 06:40:20 +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.
 | 
					                      - 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
 | 
					                      - 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.
 | 
					                        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();
 | 
					            return sb.ToString();
 | 
				
			||||||
 | 
				
			|||||||
@ -9,7 +9,7 @@ public abstract class ERIClientBase(string baseAddress) : IDisposable
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        WriteIndented = true,
 | 
					        WriteIndented = true,
 | 
				
			||||||
        AllowTrailingCommas = true,
 | 
					        AllowTrailingCommas = true,
 | 
				
			||||||
        PropertyNamingPolicy = null,
 | 
					        PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
 | 
				
			||||||
        DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
 | 
					        DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
 | 
				
			||||||
        PropertyNameCaseInsensitive = true,
 | 
					        PropertyNameCaseInsensitive = true,
 | 
				
			||||||
        Converters =
 | 
					        Converters =
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user