2 Commits
Author SHA1 Message Date
hy bb25b75058 Refactor runtime settings handling in tests
- Replace `runtimeSettingsOverride` with `streamingModeOverride` in multiple test files to streamline the configuration of LLM streaming modes.
- Update references to `aiRuntimeSettings` to use the new `appSettings` structure in relevant tests.
- Introduce new tests for workspace preparation and indexing to ensure sequential execution and proper handling of workspace jobs.
- Adjust SQLite migration tests to reflect changes in schema versioning and settings persistence.
- Modify system notification service tests to align with the updated app settings structure.
2026-09-20 12:22:32 +08:00
hy 91ad9de91c Add unit tests for knowledge retrieval, embedding errors, and vector model download services
- Implement tests for KB indexing blocks search to handle errors during indexing.
- Add tests for embedding error recognition and initialization message mapping.
- Create tests for embedding runtime contract to ensure proper request serialization.
- Introduce tests for embedding service initialization and error handling.
- Develop tests for model download source contract to validate metadata and file handling.
- Add comprehensive tests for vector download service to ensure single-task execution and proper progress reporting.
- Implement workspace knowledge cache tests to verify content isolation and statistics tracking.
2026-09-20 12:20:28 +08:00