Files
gbrain/test
4e5c09eef6 fix(facts): probe the effective facts model + merge DB-plane provider_base_urls (takeover of #2233)
Two salvaged fixes from #2233:

- extractFactsFromTurn probed isAvailable('chat') with no model, silently
  no-oping extraction whenever the facts model routes through a different
  provider than the global chat model. It now probes the effective
  (per-call/config) facts model.
- 'gbrain config set provider_base_urls.<id> <url>' writes DB plane (the
  prefix is advertised in KNOWN_CONFIG_KEY_PREFIXES) but loadConfigWithEngine
  never merged it back, so the gateway never saw the configured proxy. Merged
  with file-plane winning, fail-open for engine shims without listConfigKeys.

Dropped from the original PR: the openrouter_api_key plumbing (already on
master) and the hardcoded personal-name normalization + regex turn
pre-filter + kind normalizer (privacy-rule violation; fork-specific
heuristics that belong in per-install config, not the shared extractor).

Co-authored-by: sene1337 <sene1337@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 14:51:05 -07:00
..