Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(add-resource): fix scan warnings contract and Python SDK defaults (#1199)
yangxinxin-713946415f63d
diff --git a/openviking/parse/directory_scan.py b/openviking/parse/directory_scan.pyindex 0e8904e3f..6b255baf9 100644--- a/openviking/parse/directory_scan.py+++ b/openviking/parse/directory_scan.py@@ -289,6 +289,7 @@ def scan_directory(raise UnsupportedDirectoryFilesError(msg, unsupported_paths)else:logger.warning(msg)+ result.warnings.append(msg)result.processable.sort(key=lambda x: x.rel_path)result.unsupported.sort(key=lambda x: x.rel_path)diff --git a/openviking/utils/resource_processor.py b/openviking/utils/resource_processor.pyindex 8fd79e895..da5c6fa1a 100644--- a/openviking/utils/resource_processor.py+++ b/openviking/utils/resource_processor.py@@ -153,7 +153,7 @@ class ResourceProcessor:)return result- if parse_result.warnings:+ if parse_result.warnings and kwargs.get("strict", False):result.setdefault("warnings", []).extend(parse_result.warnings)telemetry.set(diff --git a/openviking_cli/client/http.py b/openviking_cli/client/http.pyindex 949295156..62bdae619 100644--- a/openviking_cli/client/http.py+++ b/openviking_cli/client/http.py@@ -325,7 +325,7 @@ class AsyncHTTPClient(BaseClient):instruction: str = "",wait: bool = False,timeout: Optional[float] = None,- strict: bool = True,+ strict: bool = False,ignore_dirs: Optional[str] = None,include: Optional[str] = None,exclude: Optional[str] = None,@@ -360,6 +360,8 @@ class AsyncHTTPClient(BaseClient):path_obj = Path(path)if path_obj.exists():if path_obj.is_dir():+ source_name = path_obj.name+ request_data["source_name"] = source_namezip_path = self._zip_directory(path)try:temp_file_id = await self._upload_temp_file(zip_path)