mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 04:00:21 +00:00 
			
		
		
		
	Improved the ERI client to raise an error when the server responds with additional JSON data
This commit is contained in:
		
							parent
							
								
									3bfca45e11
								
							
						
					
					
						commit
						8e39fb85c5
					
				@ -9,9 +9,10 @@ public abstract class ERIClientBase(string baseAddress) : IDisposable
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        WriteIndented = true,
 | 
					        WriteIndented = true,
 | 
				
			||||||
        AllowTrailingCommas = true,
 | 
					        AllowTrailingCommas = true,
 | 
				
			||||||
 | 
					        PropertyNameCaseInsensitive = true,
 | 
				
			||||||
        PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
 | 
					        PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
 | 
				
			||||||
        DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
 | 
					        DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
 | 
				
			||||||
        PropertyNameCaseInsensitive = true,
 | 
					        UnmappedMemberHandling = JsonUnmappedMemberHandling.Disallow,
 | 
				
			||||||
        Converters =
 | 
					        Converters =
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            new JsonStringEnumConverter(JsonNamingPolicy.SnakeCaseUpper),
 | 
					            new JsonStringEnumConverter(JsonNamingPolicy.SnakeCaseUpper),
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,4 @@
 | 
				
			|||||||
# v0.9.32, build 207 (2025-03-xx xx:xx UTC)
 | 
					# v0.9.32, build 207 (2025-03-xx xx:xx UTC)
 | 
				
			||||||
- Added the "Community & Code" section to the about page. It includes links to the GitHub repositories and the project website.
 | 
					- Added the "Community & Code" section to the about page. It includes links to the GitHub repositories and the project website.
 | 
				
			||||||
- Improved the ERI client to expect JSON responses and send JSON requests using camel case.
 | 
					- Improved the ERI client to expect JSON responses and send JSON requests using camel case.
 | 
				
			||||||
 | 
					- Improved the ERI client to raise an error when the server responds with additional JSON data that is not expected.
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user