Commit Graph

4 Commits

Author SHA1 Message Date
Frank Yang
133d2c9184 fix dead loop while network error (#77) 2023-02-18 13:13:23 +04:00
sashabaranov
67a43e6392 bump empty messages limit (#72) 2023-02-14 21:26:33 +04:00
sashabaranov
8fd81bc29a Break infinite loops in case [DONE] is missing (#67)
* Break infinite loops in case [DONE] is missing

* lint
2023-02-12 16:21:43 +04:00
sashabaranov
6758ec4d96 Streaming support (#61)
* Add streaming support feature (#54)

* Add streaming support feature

removes golangci linting deprecation warnings
See: [Issue #49](https://github.com/sashabaranov/go-gpt3/issues/49)

* remove dead token

* Remove the goroutines from previous implementation

Set up separate test and file for streaming support
Add client code under cmd dir

* Supress CI errors

Need to update import path to test under feature/streaming-support
branch

* suppress linting errors

---------

Co-authored-by: sashabaranov <677093+sashabaranov@users.noreply.github.com>

* remove main.go

* remove code duplication

* use int64

* finalize streaming support

* lint

* fix tests

---------

Co-authored-by: e. alvarez <55966724+ealvar3z@users.noreply.github.com>
2023-02-07 20:42:53 +04:00