mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-19 12:11:02 -04:00
[PR #325] docs: clarify "primary docker image" error is an LLM backend failure #320
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/pentagi/pull/325
Author: @mason5052
Created: 6/1/2026
Status: 🔄 Open
Base:
main← Head:codex/issue-309-image-chooser-troubleshooting📝 Commits (2)
6b7738cdocs: clarify "primary docker image" error is an LLM backend failure (#309)7e51806docs: refine LLM-backend troubleshooting wording (#309)📊 Changes
1 file changed (+15 additions, -0 deletions)
View changed files
📝
README.md(+15 -0)📄 Description
Summary
Add a troubleshooting subsection to the README "Docker Image Configuration" section clarifying that the
failed to select primary docker image via llm callerror (older versions:failed to get primary docker image) is an LLM backend failure during image selection, not a Docker or registry problem.Refs #309
Problem
On a fresh install, creating a flow can fail immediately with:
The phrase "primary docker image" leads users to debug Docker, the image registry, or pull access even though Docker is healthy. As the maintainer noted on #309 (and on the related #312 and #203), the real cause is the configured LLM backend: PentAGI makes its first LLM call to choose the primary image when a flow starts, so a backend failure (502/404, unreachable endpoint, wrong model, or a missing/mismatched tool-call parser on custom/sglang-style backends) surfaces at this step.
The error string itself was already made more precise in #312 / #320 (
failed to get primary docker image->failed to select primary docker image via llm call). This PR closes the remaining documentation gap so users can act on that clarified message.Solution
Add a short
#### Troubleshootingsubsection under "Docker Image Configuration" that:docker logs pentagi, check the LLM backend logs, verify the provider URL/key/model, and confirm tool-call / function-calling parser support for custom, OpenAI-compatible, vLLM, or sglang backends.Documentation only. No runtime, schema, config, or behavior changes.
User Impact
Users who hit this error can immediately look in the right place (the LLM backend) instead of debugging Docker, reducing time-to-resolution for a recurring fresh-install confusion reported across #309, #312, and #203.
Test Plan
git diff --checkreports no whitespace errors.README.mdis modified (15 insertions).#custom-llm-provider-configurationresolves to the existing "Custom LLM Provider Configuration" heading.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.