This release gives you more control over when web tools show up and adds You.com as a search option. If your model rarely calls web_enable, you can now keep every web tool available from the first message. Parallel Pi sessions can each have their own fetched-page cache, so they stop evicting each other's pages. Model allowlists now accept every pattern Pi does, and resumed older sessions keep the tools they had.
Highlights
- Keep every web tool available from the first message with
"toolActivation": "eager"inweb-search.json. - Search with You.com when you select it explicitly;
autoandallnever pick it. - Give a Pi process its own fetched-page cache with
PI_WEB_ACCESS_CACHE_ROOT. enabledModelsand--modelspatterns such assonnetor@(!(openai-codex))/*now work for answer mode, query rewrite, and summaries.- Resumed older sessions no longer gain
web_enablepartway through a conversation.
Changelog
Highlights
- Keep every web tool available from the first message with
"toolActivation": "eager", for models that rarely callweb_enableon their own. - Search with You.com when you select it explicitly.
- Give each Pi process its own fetched-page cache so parallel sessions stop evicting each other's pages.
- Model allowlists in
enabledModelsor--modelsnow work with every pattern Pi accepts. - Resumed older sessions keep the tools they had instead of gaining
web_enable.
Added
- Set
"toolActivation": "eager"inweb-search.jsonto skipweb_enableand keep every enabled web tool available from the first message. With the default"dynamic"setting,web_enablenow tells the model to call it first whenever current, external, or linked information could help. Thanks to @ackalker for issue #458. - Set
PI_WEB_ACCESS_CACHE_ROOTto a directory to give a Pi process its own fetched-page cache. The cache goes in aweb-search-cachefolder inside that directory, andweb-search.jsonstays where it is. Parallel sessions then stop evicting each other's cached pages. Thanks to @goodman-b for issue #457. - You.com is available as an optional search provider. Set
youApiKeyorYDC_API_KEY, then selectprovider: "you", add it to a provider list, or list it insearchRouting. It also appears in the Curator.autoandprovider: "all"never pick it. Thanks to @mouse-value-add for PR #461.
Fixed
- Resuming a session that never had
web_enable, for example one started before pi-web-access was installed or upgraded, no longer adds it partway through the conversation. The session keeps the tools it already had. Thanks to @nilsoskar for issue #462. - Answer mode, query rewrite, and summaries now follow the model list Pi builds from
enabledModelsor--models, so every pattern Pi accepts works here too, including patterns such as@(!(openai-codex))/*and partial names such assonnet. Before, an allowlist made of those patterns blocked every model. Thanks to @IdrisGit for issue #463 and PR #464. web_enablenow depends on the version of Pi you are running, not an older Pi package that may be installed next to the extension, so those setups no longer lose it. It needs Pi 0.86.0 or newer. On older Pi, every enabled web tool stays available from the start. Thanks to @PhrZer for PR #456 and @nguyenchiencong for issue #444.