Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

Fix compile (#62)

kkkwjx88d2d9f5d7fe
diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.yml
index 1984585d3..d0e0ad109 100644
--- a/.github/workflows/_build.yml
+++ b/.github/workflows/_build.yml
@@ -124,7 +124,9 @@ jobs:
fetch-depth: 0 # Required for setuptools_scm to detect version from git tags
- name: Fetch all tags
- run: git fetch --force --tags
+ run: |
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
+ git fetch --force --tags
- name: Build CPython (Dynamic Selection)
run: |
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8e7afc38e..033ca1edd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -106,7 +106,7 @@ target_compile_options(engine_impl PRIVATE -fPIC)
pybind11_add_module(
engine
- SHARED
+ MODULE
pybind11_interface.cpp
)