Skip to content

fix: file-index error count, reranker toast label, script and doc typos - #856

Open
simpleqt wants to merge 1 commit into
Cinnamon:mainfrom
simpleqt:fix-indexing-and-ui-typos
Open

fix: file-index error count, reranker toast label, script and doc typos#856
simpleqt wants to merge 1 commit into
Cinnamon:mainfrom
simpleqt:fix-indexing-and-ui-typos

Conversation

@simpleqt

Copy link
Copy Markdown

Summary

Functional fixes

  • libs/ktem/ktem/index/file/ui.py: after unpacking results, index_errors, docs, n_errors counted the stale pre-flight errors list — which is guaranteed empty at that point (the function returns early if errors:) — so the Have errors for N files warning never fired even when files failed to index. Now counts index_errors.
  • rerankings/ui.py: the connection-test toast said "Embedding … connect successfully" (copy-pasted from embeddings/ui.py); now says "Reranking model …".
  • scripts/run_linux.sh: echoed $miniconda_url before assigning it (printed an empty URL); swapped the lines to match run_macos.sh.

Docs

  • docs/pages/app/customize-flows.md: malformed "component: "dropdown", dict entry (SyntaxError if copied) → "component": "dropdown",; from ktem.embeddings.manager import embeddingsimport embedding_models_manager as embeddings (the module exports only embedding_models_manager).
  • README.md: flowssettingsflowsettings.

Minor

  • doubled "in in" in five NotImplementedError messages; Can not found modelCannot find model in three parallel UI files.

- index/file/ui.py: after unpacking 'results, index_errors, docs',
  n_errors counted the stale pre-flight 'errors' list (guaranteed empty
  because of the early return), so 'Have errors for N files' never fired
  when files actually failed to index; count index_errors instead
- rerankings/ui.py: connection-test toast said 'Embedding ... connect
  successfully' (copied from embeddings/ui.py); now names the reranker
- scripts/run_linux.sh: echoed $miniconda_url before assigning it;
  swap the lines to match run_macos.sh
- docs customize-flows.md: malformed '"component: "dropdown",' dict
  entry (SyntaxError when copied) and 'from ktem.embeddings.manager
  import embeddings' (module only exports embedding_models_manager)
- README.md: 'flowssettings' -> flowsettings
- 'in in' doubled word in five NotImplementedError messages;
  'Can not found model' -> 'Cannot find model' in three UI files
Copilot AI lite review requested due to automatic review settings August 23, 2026 11:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants