make linter happy (#661)

This commit is contained in:
Alexander Baranov
2024-02-15 16:02:48 +04:00
committed by GitHub
parent a7954c854c
commit 11ad4b69d0
7 changed files with 22 additions and 22 deletions

View File

@@ -64,7 +64,7 @@ func handleGetModelEndpoint(w http.ResponseWriter, _ *http.Request) {
func TestGetModelReturnTimeoutError(t *testing.T) {
client, server, teardown := setupOpenAITestServer()
defer teardown()
server.RegisterHandler("/v1/models/text-davinci-003", func(w http.ResponseWriter, r *http.Request) {
server.RegisterHandler("/v1/models/text-davinci-003", func(http.ResponseWriter, *http.Request) {
time.Sleep(10 * time.Nanosecond)
})
ctx := context.Background()