mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-20 12:37:04 -04:00
[PR #304] [MERGED] docs(flows): document flow-scoped Files tab, sources, and current limits #310
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/304
Author: @mason5052
Created: 5/7/2026
Status: ✅ Merged
Merged: 5/21/2026
Merged by: @asdek
Base:
feature/next-release← Head:codex/issue-193-flow-file-upload-docs📝 Commits (2)
e869445docs(flows): document flow-scoped Files tab, sources, and current limitsad7d2b1docs(flows): refine prompt block, snapshot source, and filename limit wording📊 Changes
1 file changed (+21 additions, -0 deletions)
View changed files
📝
README.md(+21 -0)📄 Description
Summary
Adds a How-to subsection to the README that documents the per-flow Files tab as it ships today, so new users can find, upload, attach, and clean up flow-scoped files from the UI without reading the source.
Problem
Issue #193 covers the user-visible side of flow-scoped file uploads. The feature itself was merged in PR #272 and has since gained user resources, container pull, and save-as-resource promotion, but the README only mentions flows in general terms. New users have to read frontend, REST, and storage code to learn:
Solution
Add a single new subsection
5. Manage flow-scoped filesunderHow to Use PentAGI After Login, mirroring the style of the existing flow / templates / monitoring / assistant subsections. The new section covers:{dataDir}/flow-{id}-data/and the corresponding container paths/work/uploadsand/work/resources.{{.UserFiles}}template variable, which renders a compact<task_files>XML block with nested<uploads>and<resources>sections, so it is clear how the assistant sees the files.The change is documentation only. No runtime, schema, lifecycle, or queueing behavior is introduced.
User Impact
backend/pkg/server/services/flow_files.goorfrontend/src/features/flows/files/.Test Plan
frontend/src/features/flows/files/flow-files.tsxandfrontend/src/features/flows/flow-tabs.tsxonfeature/next-release.backend/pkg/flowfiles/files.goandbackend/pkg/server/services/flow_files.goonfeature/next-release.git diff --statshows onlyREADME.md.Refs #193
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.