Commit Graph
17 Commits
Author SHA1 Message Date
渡邉祐一 / Yuichi Watanabe 1efcf2d23d fix: move pull request template (#420) 2023-06-30 14:49:36 +04:00
渡邉祐一 / Yuichi Watanabe 86d0f48d2d chore: add a pull request template (#412) 2023-06-28 21:18:34 +04:00
渡邉祐一 / Yuichi Watanabe 581f70b102 chore: add an issue template for bug report (#408) 2023-06-26 18:33:32 +04:00
渡邉祐一 / Yuichi Watanabe a3c0b36b35 chore: add an issue template for feature request (#410) 2023-06-26 18:32:57 +04:00
渡邉祐一 / Yuichi Watanabe f1b66967a4 refactor: refactoring http request creation and sending (#395)
* refactoring http request creation and sending

* fix lint error

* increase the test coverage of client.go

* refactor: Change the style of HTTPRequestBuilder.Build func to one-argument-per-line.
2023-06-22 13:57:52 +04:00
渡邉祐一 / Yuichi Watanabe 157de0680f add vvatanabe to FUNDING.yml (#402) 2023-06-22 13:49:46 +04:00
渡邉祐一 / Yuichi Watanabe e19b074a11 docs: add requires go version in README.md (#397) 2023-06-21 18:53:15 +04:00
渡邉祐一 / Yuichi Watanabe 68f9ef92be split integration test using go build tag (#392) 2023-06-19 12:12:38 +04:00
渡邉祐一 / Yuichi Watanabe b0959382c8 extract and split integration tests (#389) 2023-06-18 14:51:20 +04: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 b616090e69 refactoring tests with mock servers (#30) (#356) 2023-06-12 17:40:26 +04:00
渡邉祐一 / Yuichi Watanabe a243e7331f Support Retrieve file content API (#347) (#348)
* Support Retrieve file content API (#347)

* add timeout test for GetFileContent (#347)
2023-06-11 12:49:57 +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
渡邉祐一 / Yuichi Watanabe 6830e00406 Support Retrieve model API (#340) (#341)
* Support Retrieve model API (#340)

* Test for GetModel error cases. (#340)

* Reduce the cognitive complexity of TestClientReturnsRequestBuilderErrors (#340)
2023-06-05 18:37:08 +04:00
渡邉祐一 / Yuichi Watanabe 1394329e44 move error_accumulator into internal pkg (#304) (#335)
* move error_accumulator into internal pkg (#304)

* move error_accumulator into internal pkg (#304)

* add a test for ErrTooManyEmptyStreamMessages in stream_reader (#304)
2023-06-05 18:35:46 +04:00
渡邉祐一 / Yuichi Watanabe 61ba5f3369 move request_builder into internal pkg (#304) (#329)
* move request_builder into internal pkg (#304)

* add some test for internal.RequestBuilder

* add a test for openai.GetEngine
2023-05-31 12:01:42 +04:00
渡邉祐一 / Yuichi Watanabe 62eb4beed2 move marshaller and unmarshaler into internal pkg (#304) (#325) 2023-05-28 05:51:07 +04:00