fix(opencode): x-opencode-directory, Content-Length, warmup /api/model; serve без явного Env
Some checks failed
CI / test (push) Failing after 2m13s
CI / build-and-package (amd64, linux) (push) Failing after 1m3s
CI / build-and-package (amd64, windows) (push) Successful in 29s

This commit is contained in:
ki.sagidullin
2026-08-24 08:38:59 +05:00
parent 88b455203f
commit c9ab753c1e
6 changed files with 32 additions and 55 deletions

View File

@@ -146,7 +146,7 @@ func TestRun_ContextCancel(t *testing.T) {
done <- res
errCh <- err
}()
time.Sleep(30 * time.Millisecond)
time.Sleep(6000 * time.Millisecond)
cancel()
res := <-done
if err := <-errCh; err != nil {