mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-19 12:11:02 -04:00
[PR #327] docs: add embedding troubleshooting for stalled flows #321
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/327
Author: @mason5052
Created: 6/1/2026
Status: 🔄 Open
Base:
main← Head:codex/issue-322-embedding-troubleshooting📝 Commits (1)
2b625b3docs: add embedding troubleshooting for stalled flows (#322)📊 Changes
1 file changed (+29 additions, -0 deletions)
View changed files
📝
README.md(+29 -0)📄 Description
Summary
Adds a troubleshooting subsection to the Embedding Configuration and Testing section of the README for the case where a flow starts but then waits indefinitely with no progress. Documentation only.
Problem
In #322 a user reported that a flow "just keeps waiting, nothing moving ahead." As noted on the issue, this symptom is frequently caused by a misconfigured or unreachable embedding provider rather than by the flow itself, and the suggested first step is to check
docker logs pentagiand the embedding configuration guide. The README documents how to configure and test embeddings, but it does not connect the "flow hangs / never progresses" symptom to embedding provider settings, so users debug the flow instead of the provider.Solution
A new
### Troubleshooting: Flow Stalls or Hangs Without Progresssubsection placed at the end of the Embedding Configuration and Testing section. It gives a short, ordered diagnostic path that matches the maintainer guidance on the issue:docker logs pentagifor embedding errors (auth, wrong model, timeout, TLS).etester test -verboseto validate the embedding provider and database connection without starting a flow..envsettings, with cross-links to the existing Supported Embedding Providers and Why Consistent Embedding Providers Matter subsections.Every environment variable referenced (
EMBEDDING_PROVIDER,EMBEDDING_MODEL,EMBEDDING_URL,EMBEDDING_KEY,OPEN_AI_KEY,OPEN_AI_SERVER_URL,PROXY_URL,HTTP_CLIENT_TIMEOUT) already exists in both.env.exampleandbackend/pkg/config/config.go. The LLM-provider fallback note mirrors the behavior already documented just above in the same section.User Impact
Documentation only. No new environment variables, no provider default changes, and no code or test changes. Users who hit a stalled flow get a direct, ordered path to the likely embedding-provider cause instead of debugging the flow.
Test Plan
git diff --checkreports no whitespace errorsREADME.md, 29 insertions); no code, schema, compose, or.env.examplechanges.env.exampleandbackend/pkg/config/config.go#embedding-tester-utility-etester,#supported-embedding-providers,#why-consistent-embedding-providers-matter) resolve to existing headingsRefs #322
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.