Skip to content

OpenAI API HTTP Response handling

Sander Skogh Linnerud requested to merge 38-openapi-endpoint-test into dev

Handling HTTP responses from openai API, and tests for this.

All functions handling HTTP requests and responses from OpenAI API will catch:

  • RateLimitError
  • OpenAIError
  • JSONDecodeError
  • Exception

There is written tests for this as well

Closes #38 (closed)

Edited by Sander Skogh Linnerud

Merge request reports