Skip to content

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

Open
bcantoni wants to merge 2 commits intosimonw: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 intosimonw:mainfrom
bcantoni:bcantoni/use-os-in-prompt

Conversation

@bcantoni
Copy link

@bcantoni bcantoni commented Jun 3, 2025

Fixes #19

@bcantoni
Copy link
Author

bcantoni commented Jun 3, 2025

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
Copy link

mpetruc commented Nov 14, 2025

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