hermes-agent/agent/transports
kshitij f5be9236e0 refactor(xai): simplify _xai_prefers_native_web_search to use registry
Drop the manual web.search_backend / web.backend config-reading block
that duplicated _read_config_key in web_search_registry.py. The function
now delegates directly to get_active_search_provider() (which reads the
same config keys via the registry's canonical resolver) and falls back
to _get_search_backend() only when the registry has no providers loaded.

Also updates the TestXaiWebSearchBackendPreference tests to monkeypatch
the registry instead of load_config_readonly, and adds two new tests for
the legacy fallback path (no provider registered -> _get_search_backend).
2026-08-04 15:44:15 +05:30
..
__init__.py
anthropic.py
base.py
bedrock.py
chat_completions.py feat(transport): imply prompt_cache_key capability for api.openai.com 2026-08-03 17:17:05 +05:30
codex.py refactor(xai): simplify _xai_prefers_native_web_search to use registry 2026-08-04 15:44:15 +05:30
codex_app_server.py fix: add explicit UTF-8 encoding to all subprocess text=True calls (#53428) 2026-07-24 11:45:57 -07:00
codex_app_server_session.py fix(approval): classify CLI/TUI approval timeouts separately from explicit denials 2026-08-02 20:21:59 -07:00
codex_event_projector.py
hermes_tools_mcp_server.py chore(mcp): drop stale input_schema comment on add_tool call 2026-07-14 21:36:32 -07:00
types.py