渡邉祐一 / Yuichi Watanabe
62eb4beed2
move marshaller and unmarshaler into internal pkg ( #304 ) ( #325 )
2023-05-28 05:51:07 +04:00
sashabaranov
d94c5e7edd
Test request builder + streams ( #242 )
...
* test request builder + streams
* provide prompt to test
2023-04-09 18:46:58 +04:00
NullpointerW
bee0656174
CompletionBatchingRequestSupport ( #220 )
...
* completionBatchingRequestSupport
* lint fix
* fix Run test fail
* fix TestClientReturnsRequestBuilderErrors fail
* fix Codecov check
* ignore TestClientReturnsRequestBuilderErrors lint
* fix lint again
* lint again*2
* replace checkPromptType implementation
* remove nil check
---------
Co-authored-by: W <825708370@qq.com >
2023-04-03 11:05:33 +04:00
Jo
2ebb265e71
refactor: Refactor endpoint and model compatibility check ( #180 )
...
* Add model check for chat stream
* Sync model checks
* Fix typo
* Fix functino
* refactor: Refactor endpoint and model compatibility check
* apply review suggestions
* minor fix
* invert return boolean flag
* fix test
2023-03-22 17:46:08 +04:00
sashabaranov
a6b35c3ab5
Check for Stream parameter usage ( #174 )
...
* check for stream:true usage
* lint
2023-03-18 19:31:54 +04:00
sashabaranov
a8acb5f63b
Add tests ( #171 )
...
* test models listing
* remove non-needed method
* test for .streamFinished
* add more error tests
* improve stream testing
* fix typo
2023-03-16 19:10:27 +04:00
sashabaranov
c34bc77f1a
Add testable request builder ( #162 )
...
* Add testable request builder
* improve tests
2023-03-15 13:16:33 +04:00