Skip to content

feat: improve CLI error messages with actionable guidance#8880

Open
localai-bot wants to merge 1 commit intomudler:masterfrom
localai-bot:feat/h2-error-message-improvements
Open

feat: improve CLI error messages with actionable guidance#8880
localai-bot wants to merge 1 commit intomudler:masterfrom
localai-bot:feat/h2-error-message-improvements

Conversation

@localai-bot
Copy link
Contributor

This PR addresses UX Review Issue H2 by enhancing CLI error messages to provide specific, actionable guidance for users.

Changes

  • transcript.go: Model not found error now suggests available models commands
  • util.go: GGUF error explains format and how to get models
  • worker_p2p.go: Token error explains purpose and how to obtain one
  • run.go: Startup failure includes troubleshooting steps and docs link
  • model_config_loader.go: Config validation errors include file path and guidance

Testing

Error scenarios verified to display improved messages correctly.

Fixes UX Review Issue H2

@netlify
Copy link

netlify bot commented Mar 8, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 95a896e
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69aea9ef746e88000821d583
😎 Deploy Preview https://deploy-preview-8880--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@localai-bot localai-bot force-pushed the feat/h2-error-message-improvements branch from 04ae6af to 0dcb3ed Compare March 9, 2026 01:12
- transcript.go: Model not found error now suggests available models commands
- util.go: GGUF error explains format and how to get models
- worker_p2p.go: Token error explains purpose and how to obtain one
- run.go: Startup failure includes troubleshooting steps and docs link
- model_config_loader.go: Config validation errors include file path and guidance

Refs: H2 - UX Review Issue

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: localai-bot <localai-bot@noreply.github.com>
@localai-bot localai-bot force-pushed the feat/h2-error-message-improvements branch from 0dcb3ed to 95a896e Compare March 9, 2026 11:07
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.

1 participant