Luckyou-d
Luckyou-d
Both bugs confirmed from the code: `format_context` truncated the oversized entry into the remaining budget and `break`ed, and `search_memories` marked all returned memories injected before formatting. Fix: skip oversized entries...
Following the pr-gate on #7903: could this issue get the `accepted` label, @dejun17 @deshraj? The reproduction is deterministic (stub models, no credentials), the root cause is in the shared `agent-plugin-core`...
Confirmed both failure modes from the code: `_create_memory` inserts the vector before `db.add_history(...)` with no rollback ([main.py L1990-L2004](https://github.com/mem0ai/mem0/blob/main/mem0/memory/main.py#L1990-L2004)), and the `infer=False` fast path (L882-L916) has no duplicate check, so the...
Following the pr-gate policy: could this issue get the `accepted` label, @dejun17 @deshraj? The reproduction (gist + the code-reading confirmation in this thread) is deterministic, both failure modes are confirmed...
Reproduced on `main` (f1791da): `_extract_score`'s integer fallback `re.findall(r'-?\d+', ...)` grabs the mantissa of `5e-2` and clamps it to `1.0` - so a low-relevance doc wins `top_k=1` purely because the LLM...
@dejun17 @deshraj — could this issue get the `accepted` label? The reproduction is deterministic (no API key needed: only the reranker's LLM response is mocked), the root cause is the...
Reproduced both failure families with `QdrantClient(':memory:')` (no server needed): floats fail in `eq`/`ne`/`in`/`nin`/`MatchAny`/`MatchExcept`, and bools fail in `ne`/`in`/`nin` (`MatchValue` accepts bools, so `eq: True` works). Fix: floats build closed `Range(gte=v,...
Following the pr-gate on #7912: could this issue get the `accepted` label, @dejun17 @deshraj? The reproduction needs no server (`QdrantClient(':memory:')`), the fix handles all five failing cases from the report,...
Confirmed with the reported script: in `PydanticProgramMode.LLM` the request goes out with `tool_choice: required` and `tools: None`. Sent #24206: `_sends_tools_for_structured_output()` mirrors `get_program_for_llm` in core, so only the function-calling programs get...
Confirmed on `main`: inserting 12 nodes one by one leaves only the last un-consolidated root reachable, while the same nodes built in one step all stay reachable. The fix keeps...