Skip to content

Add detection of the current operating system distribution #12

Open
@tatuke

Description

@tatuke

Hi.I've found that the program detects the current OS platform, but can't be specific as to which distribution. For example:
When ask for opencv env prepare on ubuntu 22.04 after removed "User uses MacOS Catalina" at the end of the prompt.txt.

The LLM has a probability of outputting install commands for different distributions when just giving the platform description for unix.
like:
brew install xxx...
sometimes:
apt-get installxxx...

Why don't we go on to detect the specific distribution of the current OS after recognizing the current OS platform?

Modify prompt.txt? Spcific distribution on command line? Yes.

But i hope i can type less when i was a user. and i hope that the output commands will be more precise.

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