Skip to content

Platform awareness #33

Description

@scottyeager

Currently Pal uses a generic prompt for command generation that asks for "shell" stuff. This can lead to bashisms that don't work in fish, for example.

Therefore, Pal should detect and inject the following into prompts where relevant:

  1. OS: Linux (+distro?) or Mac for now
  2. Shell (we already detect this I think)

There's probably no harm in caching this info, though it won't be expensive to fetch anyway.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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