Merged
Conversation
MervinPraison
added a commit
that referenced
this pull request
Mar 21, 2024
Merge pull request #1 from MervinPraison/develop
MervinPraison
added a commit
that referenced
this pull request
Dec 26, 2025
- Fix #1: MemoryConfig Pydantic validation - add _prepare_mem0_config() to strip PraisonAI-specific reranker fields (enabled, default_rerank) before passing to mem0, which only accepts provider and config fields - Fix #2: LLM Reranker 'Chat' object not callable - check if client.chat is callable, not just if it exists. OpenAI client has chat as namespace object. Also handle max_completion_tokens vs max_tokens for different model versions. - Fix #3: Chroma vector store metadata validation - ensure non-empty metadata dicts by adding placeholder key when metadata is empty or None - Fix test file issues: add user_id parameter (required by mem0 API), handle dict return type from knowledge.search, use gpt-4o-mini for reranker test (gpt-5-nano returns empty responses with max_completion_tokens=10)
This was referenced Mar 30, 2026
2 tasks
This was referenced Apr 6, 2026
praisonai-triage-agent Bot
added a commit
that referenced
this pull request
Apr 8, 2026
This addresses architectural gaps #1-3 by implementing: 1. LLMProviderAdapter protocol to replace scattered provider dispatch 2. UnifiedLLMProtocol to consolidate dual execution paths 3. Memory and Knowledge adapter registries for protocol-driven backends Changes: - Add LLMProviderAdapter and UnifiedLLMProtocol to llm/protocols.py - Create memory/adapters/registry.py with thread-safe adapter registration - Create knowledge/adapters/registry.py with thread-safe adapter registration - Register core adapters (sqlite, in_memory) in core SDK - Heavy implementations (chromadb, mem0) to be moved to wrapper Follows AGENTS.md protocol-driven core principle. Backward compatible. Co-authored-by: MervinPraison <MervinPraison@users.noreply.github.com>
This was referenced Apr 8, 2026
Closed
Core SDK Gap #3: Memory/Knowledge adapter protocols exist but bypassed by core implementations
#1306
Closed
5 tasks
This was referenced Apr 16, 2026
Closed
This was referenced Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Github actions fix