Commit graph

4586 commits

Author SHA1 Message Date
Vasilije
fa7aa38b8f
COG-3050 - remove insights search (#1506)
<!-- .github/pull_request_template.md -->

## Description
<!--
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->

As per COG-3050:
1. Remove insights search type and clean up any orphaned code
2. Replace callsites with default search type - `GRAPH_COMPLETION` -
where applicable

## 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)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [x] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [ ] **I have tested my changes thoroughly before submitting this PR**
- [ ] **This PR contains minimal changes necessary to address the
issue/feature**
- [ ] 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
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] 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-10-11 09:09:56 +02:00
Vasilije
d20c72cdc6
test: refactor tests on main repo to use quantum computerstxt (#1492)
<!-- .github/pull_request_template.md -->

## Description
<!--
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->
Tests that used a long string as text now use a file. Tiny code quality
PR.

## 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)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [x] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## 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
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] 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-10-11 08:54:15 +02:00
Vasilije
9f53bb776e
refactor: Keep code DRY in health endpoint (#1526)
<!-- .github/pull_request_template.md -->

## Description
<!--
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->
Small refactor of the health endpoint to keep code cleaner.

## 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)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [x] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## 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
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] 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-10-11 07:50:38 +02:00
Vasilije
d8b0bae1d0
Merge branch 'dev' into chore/pull-main-mcp-docker-image-before-running 2025-10-11 07:49:08 +02:00
Geoffrey Robinson
f3161281d4
Merge branch 'dev' into feature/web_scraping_connector_task 2025-10-10 22:48:34 +05:30
Igor Ilic
13d1133680 chore: Change comments 2025-10-10 17:14:10 +02:00
Igor Ilic
757d745b5d refactor: Optimize cognification speed 2025-10-10 17:12:09 +02:00
Daulet Amirkhanov
d480ea23a1 docs: clarify API_TOKEN requirement in README and improve JSON handling in CogneeClient 2025-10-10 16:03:16 +01:00
Daulet Amirkhanov
c7ca4c6782 chore: update Docker image comment and improve import handling for CogneeClient 2025-10-10 16:02:58 +01:00
hajdul88
c0e413889d ruff format 2025-10-10 16:00:27 +02:00
hajdul88
9da6f9ad26 Update test_concurrent_subprocess_access.py 2025-10-10 15:56:14 +02:00
hajdul88
ffc7b3b710 Update test_concurrent_subprocess_access.py 2025-10-10 15:43:43 +02:00
hajdul88
b61cdbb30c ruff formatting 2025-10-10 15:40:00 +02:00
Daulet Amirkhanov
446a378b03 chore: update Docker image for MCP server to feature branch for testing 2025-10-10 14:39:08 +01:00
hajdul88
c5955f3904
Merge branch 'dev' into feature/cog-3142-agentic-use-case-kuzu-lock-fix-redis-integration 2025-10-10 15:37:15 +02:00
Igor Ilic
abfcbc69d6 refactor: Have embedding calls run in async gather 2025-10-10 15:36:36 +02:00
hajdul88
98ad492ba7 feat: adds basic subprocess test 2025-10-10 15:36:15 +02:00
Daulet Amirkhanov
fb03f9ce93
Merge branch 'dev' into feat/mcp-add-support-for-non-standalone-mode 2025-10-10 14:22:16 +01:00
Igor Ilic
2f9c3f030b
refactor: user different top_k number to reflect upgrades made to rel… (#1527)
… db migration

<!-- .github/pull_request_template.md -->

## Description
<!--
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->

## 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)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [ ] **I have tested my changes thoroughly before submitting this PR**
- [ ] **This PR contains minimal changes necessary to address the
issue/feature**
- [ ] 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
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] 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-10-10 15:16:10 +02:00
hajdul88
06a16a4aec feat: adds redis to have it in unit tests 2025-10-10 15:11:04 +02:00
hajdul88
a6a16c3e75 Update test_concurrent_subprocess_access.py 2025-10-10 14:38:57 +02:00
hajdul88
fc6c9587bb ruff 2025-10-10 14:35:54 +02:00
hajdul88
06a97f633a fixes tests 2025-10-10 14:32:58 +02:00
Igor Ilic
c873089c3f
Merge branch 'dev' into update-endpoint 2025-10-10 14:25:44 +02:00
hajdul88
9018367724 Update e2e_tests.yml 2025-10-10 14:05:28 +02:00
hajdul88
8db6751094 feat: adds redis to GA test 2025-10-10 14:04:25 +02:00
hajdul88
bc22527bab Update e2e_tests.yml 2025-10-10 14:00:34 +02:00
hajdul88
ce130a2f54 feat: turns on caching and shared kuzu lock for concurency test 2025-10-10 14:00:09 +02:00
hajdul88
b82e48c227 fix: e2e test fix 2025-10-10 13:48:50 +02:00
hajdul88
b179a77270 feat: adds concurrent test to e2e 2025-10-10 13:46:08 +02:00
hajdul88
fe41de7827 feat: adds subprocess test frame just to test the GA 2025-10-10 13:35:22 +02:00
Andrej Milicevic
b75aa6f9ad refactor: Keep code DRY in health endpoint 2025-10-10 12:59:28 +02:00
Geoffrey Robinson
4e5c681e62
Merge branch 'dev' into feature/web_scraping_connector_task 2025-10-10 16:16:36 +05:30
hajdul88
31cb4a3698 removes unnecessary tests 2025-10-10 11:36:45 +02:00
hajdul88
417e476ee2 feat: adds redis adapter and corresponding structure unit tests 2025-10-10 11:33:11 +02:00
hajdul88
aeafdc1dd8
Merge branch 'dev' into feature/cog-3142-agentic-use-case-kuzu-lock-fix-redis-integration 2025-10-10 09:51:38 +02:00
Geoff-Robin
4058d63036 Added better selectors for testing 2025-10-10 02:37:03 +05:30
Geoff-Robin
f82dfbe371 solved nitpick comments 2025-10-10 02:34:04 +05:30
Daulet Amirkhanov
2c8d8e8058 feat: handle cli processes cleanup when terminal window is closed 2025-10-09 19:47:52 +01:00
Igor Ilic
9a33439876 refactor: Change default PDF loader 2025-10-09 19:10:31 +02:00
Andrej Milicevic
a7a2631d53 chore: format 2025-10-09 17:50:20 +02:00
Andrej Milicevic
a44ab88519 test: try calling gc to fix windows issue 2025-10-09 17:31:27 +02:00
Daulet Amirkhanov
079a5528b0 handle mcp shutdown cleanly, and remove the need for .env if in standalone mode 2025-10-09 16:09:43 +01:00
Daulet Amirkhanov
0031a13f44 Refactor initialization of CogneeClient to use bool for API mode determination 2025-10-09 16:09:43 +01:00
Daulet Amirkhanov
c58d9ad12f switch docker image from dev to main 2025-10-09 16:09:43 +01:00
Boris
a8dab3019e
fix: frontend UI graph rendering on search (#1524)
<!-- .github/pull_request_template.md -->

## Description
<!--
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->

zoomToFit wrapper returned undefined when graph ref wasn't ready


## 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)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [ ] **I have tested my changes thoroughly before submitting this PR**
- [ ] **This PR contains minimal changes necessary to address the
issue/feature**
- [ ] 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
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] 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-10-09 16:24:32 +02:00
Daulet Amirkhanov
5f99f4c3b7
Merge branch 'dev' into fix/fix-frontend-ui-graph-rendering-on-search 2025-10-09 15:22:44 +01:00
Daulet Amirkhanov
79fb0595d8 feat: fix zoomToFit method usage GraphVisualization 2025-10-09 15:22:23 +01:00
Daulet Amirkhanov
67306786f1 docs: update README.md 2025-10-09 14:03:26 +01:00
Daulet Amirkhanov
bd49dd7bb5 Configure cognee-cli -ui mcp to connect to cognee backend 2025-10-09 14:01:28 +01:00