Skip to content

Ensure latest version of Lemonade is installed on local-ai-use - #154

Merged
danielholanda merged 3 commits into
mainfrom
dholanda/ns
Aug 24, 2026
Merged

Ensure latest version of Lemonade is installed on local-ai-use#154
danielholanda merged 3 commits into
mainfrom
dholanda/ns

Conversation

@danielholanda

@danielholanda danielholanda commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR solves the issue below:

#152

CLI selected by name, not capability. find_cli() searches PATH for lemonade before lemonade-server and uses whichever it finds first. The lemonade-sdk pip package installs both: lemonade (an eval/benchmarking tool with no serve subcommand) and lemonade-server (the REST server). Pip users get the wrong binary, lemonade serve exits without error and without a server, and setup burns 90 s on a health check that can never pass. Fix: probe the candidate's --help for serve/pull subcommands instead of trusting the name.

The actual underlying issue is that Lemonade was targeting a stale version of Lemonade installed in the system. Pip installation has been deprecated for a few months now. This PR ensures that the skill knows what is the right version of Lemonade to install.

In the future, this install module should be shared across all Lemonade skills.

Comment thread skills/local-ai-use/scripts/setup_local_ai.py
@danielholanda

Copy link
Copy Markdown
Collaborator Author

Addressed Sreeram's suggestions in the previous commit

@danielholanda
danielholanda merged commit c648f9c into main Aug 24, 2026
22 checks passed
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.

2 participants