Rascal0814
5191ea6f55
Modify the test module, add the file upload test, and add the image edit api ( #63 )
...
* 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 >
2023-02-11 22:51:53 +04:00
sashabaranov
3695eb3ade
use int64 timestamps everywhere ( #59 )
2023-01-28 23:18:59 +04:00
Oleg
d63df93c65
Add OpenAI Mock Server ( #31 )
...
* add constants for completions, refactor usage, add test server
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com >
* append v1 endpoint to test
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com >
* add makefile for easy targets
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com >
* lint files & add linter
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com >
* disable real API tests in short mode
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com >
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com >
2022-08-11 15:29:23 +06:00
blfletcher
7c56bd3034
Added delete endpoint ( #8 )
...
* Added a files endpoint, corrected a documents bug in answers requests, added error messages to API error handling
* Added file upload endpoint
* Added DeleteFile endpoint
Co-authored-by: eyelevelai <33876565+eyelevelai@users.noreply.github.com >
2021-08-05 10:59:34 +03:00
blfletcher
3dfb5bd804
File upload endpoint ( #7 )
2021-08-03 18:51:23 +03:00
blfletcher
6297de371c
Added a files endpoint, corrected a documents bug in answers requests, added error messages to API error handling ( #6 )
...
Co-authored-by: eyelevelai <33876565+eyelevelai@users.noreply.github.com >
2021-07-18 23:32:20 +03:00