mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-21 08:15:23 -04:00
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/320
Author: @mrigankad
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @asdek
Base:
main← Head:fix/issue-312-misleading-image-error📝 Commits (1)
94ec0a0fix(providers): clarify misleading docker image LLM error (#312)📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/pkg/providers/providers.go(+1 -1)📄 Description
Fixes
Fixes #312
Problem
On a fresh setup, creating any flow fails with:
Because the message says "primary docker image", users (and several issues — #312, #309, and #203) spend time debugging Docker, image pulls, and the registry. The actual failure is unrelated to Docker.
Root Cause
In
NewFlowProvider(backend/pkg/providers/providers.go), the first LLM call during flow creation asks the configured provider to select a primary Docker image:When the configured LLM backend is unsupported or misconfigured,
prv.Callreturns the provider's HTTP404. The error is wrapped with wording that points at Docker rather than the LLM provider, so the underlying404looks like a Docker registry error. As maintainers have noted on #312/#309, the 404 originates from the LLM backend.Solution
Reword the wrapped error so the failing component (the LLM call) is identified, while still naming the image-selection step:
One-line message change; no behavioral change.
Testing
Risk Assessment
Minimal. Only the text of a wrapped error string changes; no control flow, signatures, or behavior are affected. The substring
primary docker imageis retained, so any log scraping keyed on that phrase keeps matching.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.