Skip to content

Include operating system in the AI system prompt to improve command quality#25

Open
bcantoni wants to merge 2 commits into
simonw:mainfrom
bcantoni:bcantoni/use-os-in-prompt
Open

Include operating system in the AI system prompt to improve command quality#25
bcantoni wants to merge 2 commits into
simonw:mainfrom
bcantoni:bcantoni/use-os-in-prompt

Conversation

@bcantoni

@bcantoni bcantoni commented Jun 3, 2025

Copy link
Copy Markdown

Fixes #19

@bcantoni

bcantoni commented Jun 3, 2025

Copy link
Copy Markdown
Author

Still testing but this seems to work pretty well (testing on Mac with gpt-4o-mini).

Before

$ llm cmd check for all ports listening on tcp
> netstat -tuln | grep LISTEN

After

$ llm cmd check for all ports listening on tcp
> lsof -nP -iTCP -sTCP:LISTEN

@mpetruc

mpetruc commented Nov 14, 2025

Copy link
Copy Markdown

Do you know what's the status on this PR? Any hint of when it might get merged? Thank you so much for implementing this!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: return code relevant to the OS llm is operating on

2 participants