Skip to content

On windows whole files cannot be added as context #67

@mraveloarinjaka

Description

@mraveloarinjaka

On windows whole files cannot be added as context because llm interprets the drive part of the path as a fragment loader.

❯ D:\temp\runvenv-llm.bat --td -u -f "C:\Users\mraveloarinjaka\projects\MyConfig\init_shortcuts.sh" "explain that code" Error: Unknown fragment prefix: C

This seems expected given the code at https://github.com/simonw/llm/blob/921fae9a0ad3d664a872e35e4639b16089b61c1d/llm/cli.py#L134

I am not sure whether this should be solved in sllm or if we can add a specific path fragment loader in llm to be explicit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions