Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
//go:build windows
package provider
import (
"os"
"path/filepath"
"testing"
)
func createTestModelFileLink(t *testing.T, link string) error {
root := os.Getenv("LINGER_TEST_PROVIDER_LINK_ROOT")
if root == "" {
return os.Symlink(`C:\missing`, link)
}
prepared := filepath.Join(root, "model", "roundtrip-link")
assertProviderFixtureLink(t, prepared, filepath.Join(root, "model", "retained"))
return os.Rename(prepared, link)
}