<!-- .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.
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[project]
|
|
name = "cognee-mcp"
|
|
version = "0.4.0"
|
|
description = "Cognee MCP server"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
|
|
dependencies = [
|
|
# For local cognee repo usage remove comment bellow and add absolute path to cognee. Then run `uv sync --reinstall` in the mcp folder on local cognee changes.
|
|
#"cognee[postgres,codegraph,gemini,huggingface,docs,neo4j] @ file:/Users/igorilic/Desktop/cognee",
|
|
# TODO: Remove gemini from optional dependecnies for new Cognee version after 0.3.4
|
|
"cognee[postgres,codegraph,gemini,huggingface,docs,neo4j]==0.3.4",
|
|
"fastmcp>=2.10.0,<3.0.0",
|
|
"mcp>=1.12.0,<2.0.0",
|
|
"uv>=0.6.3,<1.0.0",
|
|
]
|
|
|
|
authors = [
|
|
{ name = "Boris Arzentar", email = "boris@topoteretes.com" },
|
|
{ name = "Igor Ilic", email = "igor@topoteretes.com" },
|
|
{ name = "Laszlo Hajdu", email = "laszlo@topoteretes.com" },
|
|
]
|
|
|
|
[build-system]
|
|
requires = [ "hatchling", ]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"debugpy>=1.8.12,<2.0.0",
|
|
]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[project.scripts]
|
|
cognee-mcp = "src:main"
|