Files
hermes-agent/plugins
unsupportedpastels 68337f292c refactor(providers): route Gemini client, async wrap, and setup tier check through ProviderProfile
Adds `strict_client`, `implicit_max_output_tokens`, and `validate_setup_api_key` on
`ProviderProfile`, plus the `HERMES_ASYNC_CLIENT` capability attribute next to
`HERMES_SKIP_ASYNC_WRAP` so `_to_async_client` no longer uses `isinstance(..., GeminiNativeClient)`.

Removes the remaining core imports of `agent.gemini_native_adapter` from `agent_init.py`,
`agent_runtime_helpers.py`, `auxiliary_client.py`, and `model_setup_flows.py` while keeping
the auxiliary auto-discovery chain on `generateContent` (`auxiliary_chain=True`) and preserving
URL-qualified native compaction reservation and forwarding for custom routes.

Builds on the approach of #134578 (`strict_client`, the profile supplying Gemini's client).

Co-authored-by: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com>
2026-11-25 18:16:54 -05:00
..
…