VaalaCat
3640274cd1
feat: change repo name
2025-06-15 12:58:45 +00:00
Ayush Sawant
fb15ff9dcd
Handling for non-json response ( #881 )
...
* removed handling for non-json response
* added response body in RequestError.Error() and updated tests
* done linting
2024-10-21 21:49:34 +01:00
Ayush Sawant
cfe15ffd00
return response body as byte slice for RequestError type ( #873 )
2024-10-14 14:20:39 +01:00
eiixy
38bdc812df
Optimize Client Error Return ( #856 )
...
* update client error return
* update client_test.go
* update client_test.go
* update file_api_test.go
* update client_test.go
* update client_test.go
2024-09-26 13:25:56 +03:00
Andreas Deininger
ea551f422e
Fixing typos ( #706 )
2024-04-13 15:32:38 +04:00
ZeroDeng
34569895f6
Compatible with the 2023-07-01-preview API interface of Azure Openai, when content interception is triggered, the error message will contain innererror ( #460 )
...
* Compatible with Azure Openai's 2023-07-01-preview version API interface about the error information returned by the intercepted interface
* Compatible with the 2023-07-01-preview API interface of Azure Openai, when content interception is triggered, the error message will contain innererror.InnerError struct is only valid for Azure OpenAI Service.
2023-08-09 13:05:39 +09:00
渡邉祐一 / Yuichi Watanabe
e49d771fff
support for parsing error response message fields even if they are arrays ( #381 ) ( #384 )
2023-06-17 17:57:29 +04:00
渡邉祐一 / Yuichi Watanabe
06b16a7281
fix json marshaling error response of azure openai ( #343 ) ( #345 )
...
* fix json marshaling error response of azure openai (#343 )
* add a test case for handleErrorResp func (#343 )
2023-06-08 19:32:03 +04:00
Quest Henkart
a24581dce2
maintain underlying error structs to allow for type conversion ( #293 )
...
* maintain underlying error structs to allow for type conversion and
defensive error checking
* allow Error.Is for Azure responses
* update readme, add tests to ensure type conversion
* fix whitespacing
* read me
* add import to readme example
2023-05-03 22:48:59 +04:00
Liu Shuang
cacd976a0c
feat: RequestError print status code ( #285 )
2023-05-01 01:18:43 +04:00
Liu Shuang
d6ab1b3a4f
fix: chat stream resp error ( #259 )
2023-04-19 13:05:00 +01:00
Stephen Young
061c97ef7e
Implement Unmarshaller interface. Resolves #244 ( #248 )
2023-04-14 20:09:40 +02:00
Alexander Baranov
9eea94730a
rename internally
2023-03-04 15:29:42 +04:00
Marc Haisenko
ee3df71880
Improve error reporting ( #68 )
...
* Provide APIError and use Go's error wrapping
* Add generic request error
* Fix code formatting
2023-02-13 20:43:06 +04:00
blfletcher
6297de371c
Added a files endpoint, corrected a documents bug in answers requests, added error messages to API error handling ( #6 )
...
Co-authored-by: eyelevelai <33876565+eyelevelai@users.noreply.github.com >
2021-07-18 23:32:20 +03:00