• Jeffrey Morgan's avatar
    llm: do not evaluate symlink for exe path lookup (#9088) · f05774b0
    Jeffrey Morgan authored
    In some cases, the directories in the executable path read by
    filepath.EvalSymlinks are not accessible, resulting in permission
    errors which results in an error when running models. It also
    doesn't work well on long paths on windows, also resulting in
    errors. This change removes filepath.EvalSymlinks when accessing
    os.Executable() altogether
    f05774b0
path.go 1.14 KB