mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-21 00:45:22 -04:00
c544fb77bd
* all: add broad httprr coverage, update dependencies, organize go.mod file, bump to 1.23 update go version to 1.23 add lots of test coverage via httprr recordings update dependencies and organize go.mod add testutil/testctr which helps work around a testcontainers-go+colima bug expand the huggingface implementation and tests expand capabilities of the ollama package
17 lines
228 B
Go
17 lines
228 B
Go
package redisvector_test
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/tmc/langchaingo/internal/testutil/testctr"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
code := testctr.EnsureTestEnv()
|
|
if code == 0 {
|
|
code = m.Run()
|
|
}
|
|
os.Exit(code)
|
|
}
|