Ayush Sawant
b3ece4d32e
Updated client_test to solve lint error ( #900 )
...
* updated client_test to solve lint error
* modified golangci yml to solve linter issues
* minor change
2024-11-19 20:37:10 +00:00
Ayush Sawant
6e087322b7
Updated checkPromptType function to handle prompt list in completions ( #885 )
...
* updated checkPromptType function to handle prompt list in completions
* removed generated test file
* added corresponding unit testcases
* Updated to use less nesting with early returns
2024-10-25 14:41:45 +01: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