Commit Graph
3 Commits
Author SHA1 Message Date
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