docs(config): document file data source upload limits - #383
Open
s5unanow wants to merge 1 commit into
Open
Conversation
Add the three settings introduced by EPMCDME-13212 (codemie MR !3939) to the File Storage section of the API configuration reference: - FILE_DATASOURCE_MAX_UPLOAD_COUNT (default 10) replaces the hardcoded 10-file cap on File data source create and update - FILE_DATASOURCE_MAX_UPLOAD_TOTAL_SIZE (default 1 GB) caps the combined size of one upload request - FILE_DATASOURCE_UPLOAD_MAX_WORKERS (default 3) controls concurrent file writes to storage Also note that the configured file count is advertised via GET /v1/info (fileDatasourceMaxUploadCount) and consumed by the UI (codemie-ui MR !1645). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AxXUhubD1gC1UaeABscyQw
elluvium
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the configurable File data source upload limits introduced by EPMCDME-13212 on the CodeMie API Configuration Reference page (
/admin/configuration/codemie/api-configuration/). The page previously did not mention the 10-file cap on File data sources at all; the backend now exposes it, together with two related settings, as environment variables.Changes
FILE_DATASOURCE_MAX_UPLOAD_COUNT,FILE_DATASOURCE_MAX_UPLOAD_TOTAL_SIZEandFILE_DATASOURCE_UPLOAD_MAX_WORKERSto the General Storage Settings table (defaults, constraints, and when to raise them)POST/PUT /v1/index/knowledge_base/file, HTTP 422), the concurrent upload workers, and that the configured count is advertised asfileDatasourceMaxUploadCountinGET /v1/infoand picked up by the UI automaticallyTesting
npm run build(full production build;npm startwas not used)onBrokenLinks: 'throw')Quality Checks
npm run checkpasses (typecheck + lint + commitlint)<text>must be`<text>`)static/img/)Additional Notes
codemieMR !3939 (settings, validators,/v1/infofield) and UIcodemie-uiMR !1645 (the UI consumes the advertised limit and falls back to 10).src/codemie/configs/config.pyonmain. The MR description mentions only the file-count setting, but the merged commit also added the combined-size cap and the worker count, so all three are documented together.🤖 Generated with Claude Code
https://claude.ai/code/session_01AxXUhubD1gC1UaeABscyQw