Bartok

Results issues of Bartok

Closes #26803 ## Root Causes ### 1. Daily quota exhaustion not classified as fallback-worthy `_is_payment_error()` checked for billing keywords (`credits`, `insufficient funds`, `billing`, `payment required`) but missed daily token quota...

type/bug
comp/agent
P2

Closes #26806 ## Problem High-frequency scripted callers (batch, cron, oneshot) pay ~3.5k input tokens per call for the `` catalogue block even when skill discovery is not needed. No existing...

type/feature
comp/agent
comp/cli
comp/tui
tool/skills
P3

Closes #5068 ## Problem Posting a multimodal message (e.g. an `image_url` content dict) to `POST /memories` on the REST API server returns HTTP 422 before `Memory.add()` is invoked: ```json {...

Closes #5148 ## Problem `Memory._add_to_vector_store` Phase 1 (existing-memory retrieval) embeds the **full parsed conversation** into a single vector: ```python # mem0/memory/main.py ~line 704 parsed_messages = parse_messages(messages) # full raw conversation...

## Summary - Bedrock requests now include `toolConfig` whenever the message history carries `toolUse`/`toolResult` content blocks, even if the current request defines no tools. - Fixes the `ValidationException: The toolConfig...

bug
size: S

## Summary Refresh OAuth tokens **proactively** at ~80% of their lifetime with a small random jitter, instead of only **reactively** once they've already expired. This reduces the "thundering herd" of...

## Summary This is a **conflict-free rebase of #2660 by @peisuke** onto current `main`, opened as a fresh, mergeable PR so it can land without waiting on the original draft...

## Summary - The OAuth authorization-code grant now preserves any query parameters already present on the server-advertised `authorization_endpoint` instead of producing a malformed double-`?` URL. - User-facing impact: clients can...

## Summary - The streamable HTTP **client** now sends a same-origin `Origin` header by default. - This lets the official Python client interoperate with spec-compliant servers (e.g. the Go SDK's...

Salvages the WeCom path-traversal guard from #32717 by @ErnestHysa, hardened to **fail-closed** per @liuhao1024's security review. ## What's included **WeCom path-traversal guard** (`gateway/platforms/wecom.py` `_load_outbound_media`): after a local media path is...

type/security
comp/gateway
comp/plugins
platform/wecom
P2
sweeper:risk-security-boundary