cognee/cognee
Vasilije 8246a6a02f
fix: Remove creation of default user during search (#1455)
<!-- .github/pull_request_template.md -->

## Description
Removed default user creation during brute force search. Even when a
user is provided to search it's not forwarded to the Retrievers, the
retrievers always created a default user and sent telemetry as the
default user which is inaccurate, they also create a default user even
when there shouldn't be one.

if this information is necessary for telemetry we should forward the
user information that was sent through search through the retrievers and
not always create a default user

## Type of Change
<!-- Please check the relevant option -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [x] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Changes Made
Removed user as parameter from brute force search, removed default user
creation that was supplied as parameter to brute force search

## Testing
Ran simple example, waiting for CI/CD results

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [x] **I have tested my changes thoroughly before submitting this PR**
- [x] **This PR contains minimal changes necessary to address the
issue/feature**
- [x] My code follows the project's coding standards and style
guidelines
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added necessary documentation (if applicable)
- [ ] All new and existing tests pass
- [x] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [x] My commits have clear and descriptive messages

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-09-25 21:11:42 +02:00
..
api Merge branch 'dev' into feature/cog-2728-bug-cors-issue-if-frontend-runs-on-any-port-other-than-3000 2025-09-25 17:09:35 +02:00
cli auto-download ui on cognee -ui 2025-09-11 19:24:44 +01:00
eval_framework refactor: Add proper pip install command for optional extras 2025-09-25 13:55:01 +02:00
exceptions ruff formatting 2025-08-13 15:15:39 +02:00
infrastructure refactor: Remove comment 2025-09-25 16:03:11 +02:00
modules Merge branch 'dev' into remove-default-user-search 2025-09-25 21:02:00 +02:00
shared Merge branch 'dev' into COG-2826 2025-09-25 13:31:21 +02:00
tasks Merge branch 'dev' into COG-2826 2025-09-25 13:31:21 +02:00
tests test: Resolve failing unit tests 2025-09-25 17:27:11 +02:00
__init__.py feat: add support to start ui programmatically from cognee package 2025-09-10 14:15:31 +01:00
__main__.py added files 2025-07-26 18:14:19 +02:00
base_config.py fix: ruff formatting error 2025-09-19 17:55:08 +02:00
context_global_variables.py fix: s3 file storage (#1095) 2025-07-16 20:36:18 +02:00
get_token.py
low_level.py
pipelines.py
root_dir.py fix: Add S3 URL handling in ensure_absolute_path function (#1438) 2025-09-18 11:47:34 +02:00
version.py