* update image api *os.File to io.Reader
* update code style
* add reader test
* supplementary reader test
* update the reader in the form builder test
* add commnet
* update comment
* update code style
* added TestCompletionStream test
moved completion stream testing to seperate function
added NoErrorF
fixes nil pointer reference on stream object
* update integration test models
* fix test server setup:
- go map access is not deterministic
- this can lead to a route: /foo/bar/1 matching /foo/bar before matching /foo/bar/1 if the map iteration go through /foo/bar first since the regex match wasn't bound to start and end anchors
- registering handlers now converts * in routes to .* for proper regex matching
- test server route handling now tries to fully match the handler route
* add missing /v1 prefix to fine-tuning job cancel test server handler
* 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.
* move error_accumulator into internal pkg (#304)
* move error_accumulator into internal pkg (#304)
* add a test for ErrTooManyEmptyStreamMessages in stream_reader (#304)
* Implement optional io.Reader in AudioRequest (#303) (#265)
* Fix err shadowing
* Add test to cover AudioRequest io.Reader usage
* Add additional test cases to cover AudioRequest io.Reader usage
* Add test to cover opening the file specified in an AudioRequest
* feat(models): include flow for azure openai endpoint
* feat(models): include flow for azure openai endpoint
* feat(models): include flow for azure openai endpoint
* chore(fullURL): update logic to run in fullURL function
* chore(fullURL): update based on pr comments to use c.config.APIVersion
* Modify the test module, add the file upload test, and add the image editing api
* fix golangci-lint
* fix golangci-lint
* Static file deletion, file directory name modification
* fix
* test-server-related logic encapsulated in a single tidy
struct
---------
Co-authored-by: julian_huang <julian.huang@yuansuan.com>