Skip to content

Fix (#2412) : Added offline check before pulling a model on server.cpp#2434

Open
GabrielReusRodriguez wants to merge 2 commits into
lemonade-sdk:mainfrom
GabrielReusRodriguez:#2412-Incorrect-status-message-when-downloading-a-model-in-offline-mode
Open

Fix (#2412) : Added offline check before pulling a model on server.cpp#2434
GabrielReusRodriguez wants to merge 2 commits into
lemonade-sdk:mainfrom
GabrielReusRodriguez:#2412-Incorrect-status-message-when-downloading-a-model-in-offline-mode

Conversation

@GabrielReusRodriguez

Copy link
Copy Markdown
Contributor

Resume

About Issue : #2412

I have added a config check in handle_pull function of server.cpp . Now before checking if user sent a model, we check in config if the model is offline ( offline = "true" ) if it is offline, we send an error response with a user friendly error.

image image

Testing

Tested on ubuntu 24.04 on lemonade 1.8.1 both options with lemonade cli (config.offline= true and config.offline= false).

@github-actions github-actions Bot added the bug Something isn't working label Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant