mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-17 04:32:31 +03:00
17 lines
697 B
SQL
17 lines
697 B
SQL
-- 120_interception_rules.sql
|
|
-- Documents the interception_rules namespace in the key_value table (#3384).
|
|
-- No schema change — the key_value table already exists.
|
|
-- Key = provider ID, value = JSON with shape:
|
|
-- {
|
|
-- interceptSearch?: boolean,
|
|
-- interceptFetch?: boolean,
|
|
-- fetchBackend?: "firecrawl"|"jina"|"tavily",
|
|
-- fetchProxyUrl?: string,
|
|
-- models?: { [modelId]: { interceptSearch?, interceptFetch?, fetchBackend?, fetchProxyUrl? } }
|
|
-- }
|
|
--
|
|
-- Resolution precedence: per-model rule > provider-level rule > undefined (caller
|
|
-- falls back to the existing native web-search-bypass defaults in webSearchFallback.ts).
|
|
--
|
|
-- See: src/lib/db/interceptionRules.ts
|