Commit graph

4555 commits

Author SHA1 Message Date
hajdul88
a170355f94 feat: adds no cache case 2025-10-08 10:19:34 +02:00
Boris
760a9de6de
Release v0.3.5 (#1515)
<!-- .github/pull_request_template.md -->

## Description
Cognee release v0.3.5

## 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-07 23:51:49 +02:00
Daulet Amirkhanov
583923903c
chore: update cognee-cli to use MCP Docker image from main. Bring back deprecation warnings (#1491)
<!-- .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-07 22:22:12 +01:00
Daulet Amirkhanov
4b14bd7566
Feat/improve exception raising for better debugging (#1512)
<!-- .github/pull_request_template.md -->

## Description

When raising exceptions, in some places we lose the stack trace, or in
some cases when we raise custom exceptions - we also lose any metadata
from original exception that could help pinpoint the issue.

This PR updates exception throwing to use [`raise ...
from`](https://docs.python.org/3/reference/simple_stmts.html#raise),
which:
1. preserves stack trace
2. when we throw custom exception, indicates that our exception was
caused by XYZ exception

_this is a scoped down version for upcoming release, rest of the changes
are in #1518_

<!--
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-07 22:19:22 +01:00
Daulet Amirkhanov
4190a7a232
Fix/fix broken health check endpoint (#1516)
<!-- .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.
-->

Cognee health check endpoint, specifically `llm_provider` is broken.

To reproduce: `cognee-cli -ui`:

```
[BACKEND] 2025-10-07T20:05:51.751303 [info     ] JSON extension already loaded or unavailable: Binder exception: Extension: JSON is already loaded. You can check loaded extensions by `CALL SHOW_LOADED_EXTENSIONS() RETURN *`. [cognee.shared.logging_utils]
[BACKEND] 2025-10-07T20:05:51.763217 [error    ] LLM provider health check failed: type object 'LLMGateway' has no attribute 'show_prompt' [cognee.shared.logging_utils] exception_message="type object 'LLMGateway' has no attribute 'show_prompt'" traceback=True
[BACKEND] ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
[BACKEND] │ /Users/daulet/Desktop/dev/cognee-claude/cognee/api/health.py:197 in check_llm_provider           │
[BACKEND] │                                                                                                  │
[BACKEND] │   194 │   │   │   config = get_llm_config()                                                      │
[BACKEND] │   195 │   │   │                                                                                  │
[BACKEND] │   196 │   │   │   # Test actual API connection with minimal request                              │
[BACKEND] │ ❱ 197 │   │   │   LLMGateway.show_prompt("test", "test.txt")                                     │
[BACKEND] │   198 │   │   │                                                                                  │
[BACKEND] │   199 │   │   │   response_time = int((time.time() - start_time) * 1000)                         │
[BACKEND] │   200 │   │   │   return ComponentHealth(                                                        │
[BACKEND] │                                                                                                  │
[BACKEND] │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
[BACKEND] │ │         config = LLMConfig(                                                                  │ │
[BACKEND] │ │                  │   structured_output_framework='instructor',                               │ │
[BACKEND] │ │                  │   llm_provider='openai',                                                  │ │
[BACKEND] │ │                  │   llm_model='openai/gpt-4o-mini',                                         │ │
[BACKEND] │ │                  │   llm_endpoint='',                                                        │ │
[BACKEND] │ │                  │                                                                           │ │
[BACKEND] │ │                  llm_api_key='sk-proj-UIN_gS06M_6Zy-j4ABRZ6xrr0XR6tV5HyeaRvX4Aq5R3aJ1NNT0XP… │ │
[BACKEND] │ │                  │   llm_api_version=None,                                                   │ │
[BACKEND] │ │                  │   llm_temperature=0.0,                                                    │ │
[BACKEND] │ │                  │   llm_streaming=False,                                                    │ │
[BACKEND] │ │                  │   llm_max_completion_tokens=16384,                                        │ │
[BACKEND] │ │                  │   baml_llm_provider='openai',                                             │ │
[BACKEND] │ │                  │   baml_llm_model='gpt-5-mini',                                            │ │
[BACKEND] │ │                  │   baml_llm_endpoint='',                                                   │ │
[BACKEND] │ │                  │   baml_llm_api_key=None,                                                  │ │
[BACKEND] │ │                  │   baml_llm_temperature=0.0,                                               │ │
[BACKEND] │ │                  │   baml_llm_api_version='',                                                │ │
[BACKEND] │ │                  │   transcription_model='whisper-1',                                        │ │
[BACKEND] │ │                  │   graph_prompt_path='generate_graph_prompt.txt',                          │ │
[BACKEND] │ │                  │   temporal_graph_prompt_path='generate_event_graph_prompt.txt',           │ │
[BACKEND] │ │                  │   event_entity_prompt_path='generate_event_entity_prompt.txt',            │ │
[BACKEND] │ │                  │   llm_rate_limit_enabled=False,                                           │ │
[BACKEND] │ │                  │   llm_rate_limit_requests=60,                                             │ │
[BACKEND] │ │                  │   llm_rate_limit_interval=60,                                             │ │
[BACKEND] │ │                  │   embedding_rate_limit_enabled=False,                                     │ │
[BACKEND] │ │                  │   embedding_rate_limit_requests=60,                                       │ │
[BACKEND] │ │                  │   embedding_rate_limit_interval=60,                                       │ │
[BACKEND] │ │                  │   fallback_api_key='',                                                    │ │
[BACKEND] │ │                  │   fallback_endpoint='',                                                   │ │
[BACKEND] │ │                  │   fallback_model='',                                                      │ │
[BACKEND] │ │                  │   baml_registry=None,                                                     │ │
[BACKEND] │ │                  │                                                                           │ │
[BACKEND] │ │                  cognee_cloud_auth_token='9611fd02214a51f0930ca0d6d445daea63bc5392d85746fb'  │ │
[BACKEND] │ │                  )                                                                           │ │
[BACKEND] │ │              e = AttributeError("type object 'LLMGateway' has no attribute 'show_prompt'")   │ │
[BACKEND] │ │ get_llm_config = <functools._lru_cache_wrapper object at 0x123954f60>                        │ │
[BACKEND] │ │  response_time = 0                                                                           │ │
[BACKEND] │ │           self = <cognee.api.health.HealthChecker object at 0x33f442980>                     │ │
[BACKEND] │ │     start_time = 1759867551.7631629                                                          │ │
[BACKEND] │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
[BACKEND] ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
[BACKEND] AttributeError: type object 'LLMGateway' has no attribute 'show_prompt'
[BACKEND] EmbeddingRateLimiter initialized: enabled=False, requests_limit=60, interval_seconds=60
```

This is due to deprecated LLMGateway method that is no longer there,
which was used in healthcheck.

## Type of Change
<!-- Please check the relevant option -->
- [x] 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-07 22:19:09 +01:00
Daulet Amirkhanov
978549106c chore: use dev env in test_s3 CI 2025-10-07 22:04:26 +01:00
Daulet Amirkhanov
ee079604f4 chore: keep exception handling changes to instructor adapters 2025-10-07 22:03:16 +01:00
Daulet Amirkhanov
0c59bcdda2 Rerun notebooks with latest cognee - 0.3.5 2025-10-07 21:49:02 +01:00
Daulet Amirkhanov
405b65f857 refactor: Simplify health check methods by using utility functions for LLM and embedding connections 2025-10-07 21:26:25 +01:00
Daulet Amirkhanov
c1e467209f
Merge branch 'dev' into fix/fix-broken-health-check-endpoint 2025-10-07 21:21:54 +01:00
Daulet Amirkhanov
ada3753534 fix: fix broken check_llm_provider healthcheck method 2025-10-07 21:18:00 +01:00
Igor Ilic
c81315d177
chore: Update release version (#1514)
<!-- .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-07 22:07:11 +02:00
Igor Ilic
c9c5406aca
fix: Remove cognee endpoint from cognee core to allow MCP users to us… (#1513)
…e cognee endpoint

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

## Description
Remove cognee endpoint from core as it clashes with cognee endpoint from
cognee-mcp

## 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-07 21:59:57 +02:00
Igor Ilic
2b04a35309
chore: Update lock files (#1511)
<!-- .github/pull_request_template.md -->

## Description
update lock files

## 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-07 21:16:43 +02:00
Daulet Amirkhanov
6aeaa6877a
Merge branch 'dev' into chore/update-cognee-ui-cli-mcp-docker-image 2025-10-07 19:52:17 +01:00
hajdul88
e74f7cd6ab
Merge branch 'dev' into feature/cog-3142-agentic-use-case-kuzu-lock-fix-redis-integration 2025-10-07 20:46:27 +02:00
hajdul88
0a83ed7921 update lock 2025-10-07 20:45:56 +02:00
hajdul88
88fb4cef05 Merge branch 'dev' into feature/cog-3142-agentic-use-case-kuzu-lock-fix-redis-integration 2025-10-07 20:44:39 +02:00
Igor Ilic
840991c36f
refactor: Don't use async lock if not needed (#1510)
<!-- .github/pull_request_template.md -->

## Description
Reduce time PGVector is using async lock, by checking if collection
exists before taking async lock

## 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-07 20:44:10 +02:00
hajdul88
b468a13005 Update adapter.py 2025-10-07 20:43:50 +02:00
Igor Ilic
e7709f7bd0
fix: Resolve issue with Kuzu graph database persistence on our local … (#1490)
…Docker

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

## Description
Resolves issue with kuzu graph data persistence for Cognee backend
docker

## Type of Change
<!-- Please check the relevant option -->
- [x] 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):

## 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.

---------

Co-authored-by: Boris <boris@topoteretes.com>
2025-10-07 20:38:43 +02:00
Daulet Amirkhanov
dda44b0a4b chore: change cognee-mcp deprecation message 2025-10-07 19:30:25 +01:00
Igor Ilic
f81d427466
Main merge vol7 (#1509)
<!-- .github/pull_request_template.md -->

## Description
Merge main to dev

## 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-07 20:17:30 +02:00
Igor Ilic
0ef2623ac6
refactor: use gpt-5-mini by default (#1505)
<!-- .github/pull_request_template.md -->

## Description
Set gpt-5-mini back to default LLM as issues with it have been resolved

## 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):

## 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-07 20:17:10 +02:00
Igor Ilic
b57947f672
Merge branch 'dev' into update-endpoint 2025-10-07 20:07:27 +02:00
Igor Ilic
b4eaea2133 Merge branch 'main' into main-merge-vol7 2025-10-07 19:56:38 +02:00
Igor Ilic
3b8b839057
fix: Resolve pydantic issue regarding deprecation (#1508)
<!-- .github/pull_request_template.md -->

## Description
Fix latest pydantic version issues

## 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-07 19:54:59 +02:00
hajdul88
466707b003 feat: adds redis locks 2025-10-07 19:45:48 +02:00
Boris
b01cf4e6bd
Merge branch 'dev' into chore/update-cognee-ui-cli-mcp-docker-image 2025-10-07 19:33:33 +02:00
hajdul88
c72c4c56b9 lock update 2025-10-07 19:27:11 +02:00
hajdul88
948dde0e41 Merge branch 'dev' into feature/cog-3142-agentic-use-case-kuzu-lock-fix-redis-integration 2025-10-07 19:24:31 +02:00
hajdul88
31280471c9 ruff 2025-10-07 19:20:36 +02:00
hajdul88
9a5af434e4 trying out connection open/close on ci/cd 2025-10-07 19:20:27 +02:00
hajdul88
68a8977301 feat: adds connection locks 2025-10-07 19:19:57 +02:00
hajdul88
b288e5d7a0 fix: fixes pgvector deadlock 2025-10-07 19:19:32 +02:00
Igor Ilic
7b5bba2b18
refactor: Unify dataset resolution (#1488)
<!-- .github/pull_request_template.md -->

## Description
Unified dataset resolution mechanisms across cognee

## 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):

## 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-07 19:14:46 +02:00
Geoff-Robin
49858c5416 Made api_key field in TavilyConfig models to be Optional[str] type to allow None value 2025-10-07 22:38:13 +05:30
Geoff-Robin
f59c278ae9 Added await 2025-10-07 22:36:24 +05:30
hajdul88
7ec1c75bee Update adapter.py 2025-10-07 18:56:08 +02:00
Geoff-Robin
0fd55a737f ruff formatted 2025-10-07 22:16:02 +05:30
Geoff-Robin
fc660e4027 Closed crawler instance in a finally block 2025-10-07 22:15:06 +05:30
hajdul88
03eedddf29 Update get_cache_engine.py 2025-10-07 18:35:41 +02:00
hajdul88
9adb89b718 Revert "feat: adds connection execture wrapper to keep track open executions"
This reverts commit e3964cb208.
2025-10-07 18:21:59 +02:00
Geoff-Robin
fcd91a9709 Added self as an argument to all previous methods that were static methods 2025-10-07 21:51:26 +05:30
Boris
c2698094c6
fix: frontend process output streaming stuck due to incorrect output (#1503)
<!-- .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.
-->

`cognee-cli -ui` has accidentally added - when opening frontend
subprocess - an output decoding into text.

## What happens exactly

On the surface - frontend ui will be stuck loading.

Frontend process hangs as it's output is not being processed (we're
expecting bytes).

## This change

This change removes the `text=True` added to frontend subprocess

## 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-07 18:13:40 +02:00
Igor Ilic
38cdacbcb6
fix: Resolve issue with Gemini adapter (#1494)
<!-- .github/pull_request_template.md -->

## Description
Resolve Gemini Adapter issues:
 1. resolve embedding batch issue,
2. Resolve slowness because gemini tokenizer was sending word per word
to Googles API to count tokens (using OpenAI's local tokenizer to count
tokens for Gemini now)
 3. Update deprecated library and move to instructor

## Type of Change
<!-- Please check the relevant option -->
- [x] 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):

## 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-07 18:04:18 +02:00
Geoff-Robin
3d53e8d6f1 Removed print statement that I used for debugging 2025-10-07 20:59:19 +05:30
Geoff-Robin
d91ffa2ad6 Removed staticmethod decorator from bs4_crawler.py, kwargs from the function signature in save_data_item_to_storage.py, removed unused imports in ingest_data.py and added robots_cache_ttl as a config field in BeautifulSoupCrawler. 2025-10-07 20:56:23 +05:30
hajdul88
395b1c289a feat: makes redis import optional 2025-10-07 15:56:47 +02:00
hajdul88
e3964cb208 feat: adds connection execture wrapper to keep track open executions 2025-10-07 15:47:54 +02:00