diff --git a/CHANGELOG.md b/CHANGELOG.md index 920ff22a4..82d776600 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -343,6 +343,15 @@ ensuring data is stored with proper parameter values. aligns the documentation with the actual runtime behaviour. - **BDD Feature File Tag Coverage** (#9124): Added required `@a2a`, `@session`, and `@cli` Gherkin tags to all A2A, session, and CLI feature files (30 files) to enable tag-based test filtering via `behave --tags=a2a,session,cli`. This restores the ability to selectively run test categories and enables CI to execute targeted test suites without running the full suite. +- **ProviderType.GEMINI missing from ProviderRegistry.FALLBACK_ORDER** (#10986, #4750): + Added `ProviderType.GEMINI` to both `ProviderRegistry.FALLBACK_ORDER` (after + `ProviderType.GOOGLE`) and `FallbackSelector.DEFAULT_FALLBACK_ORDER` (after + `"google"`). The GEMINI enum value, capabilities, default model, and API key mapping + were already defined in the registry but Gemini-only users could not get a provider + via the fallback chain — `get_default_provider_type()` returned ``None`` when only + ``GEMINI_API_KEY`` was set. Also removed the ``@tdd_expected_fail`` tag from the + Behave regression test (`features/tdd_gemini_fallback_order_4750.feature`) since the + bug is now resolved and the test must pass normally. - **`ProviderRegistry.FALLBACK_ORDER` missing `ProviderType.GEMINI`** (#10906): Added `ProviderType.GEMINI` to the fallback provider order list so that when only a @@ -1259,4 +1268,4 @@ iteration` and data corruption under concurrent plan execution. All public - **TUI -- Permission Question Widget**: A new inline `PermissionQuestionWidget` renders permission requests directly in the conversation stream for single-key operations. Users can allow/reject with single-key shortcuts (`a`/`A`/`r`/`R`), - navigate with arrow keys, confirm with `Enter`, or press `v` to open the full \ No newline at end of file + navigate with arrow keys, confirm with `Enter`, or press `v` to open the full diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 8521aa707..66bda668f 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -118,3 +118,4 @@ Below are some specific details of individual PR contributions. * Jeffrey Phillips Freeman has contributed the `--format`/`-f` flag to `agents session tell` (issue #10466): adds JSON envelope output for machine-readable workflows alongside existing Rich console output, with Behave BDD test coverage verifying all four non-rich format paths (JSON, YAML, plain, table) and the short `-f` flag alias. * HAL 9000 has contributed the Semgrep guard for broad exception suppression (PR #9185 / issue #9103): added two new Semgrep rules (`python-no-suppressed-exception` and `python-no-suppress-exception`) to automate enforcement of error propagation guidelines, integrated Semgrep into `nox -s lint` in audit mode with migration plan for ~337 existing violations, and comprehensive BDD test coverage across all rule patterns and escape hatch scenarios. * HAL 9000 has contributed the `ProviderRegistry.FALLBACK_ORDER` fix (#10906): added the missing `ProviderType.GEMINI` to the fallback provider order list so that when only a Gemini API key is configured, the registry correctly selects it as the default provider. Includes BDD regression scenarios in `features/fallback_gemini_provider.feature`. +* HAL 9000 has contributed the ProviderType.GEMINI fallback order fix (PR #10986 / issue #4750): added GEMINI to both ProviderRegistry.FALLBACK_ORDER and FallbackSelector.DEFAULT_FALLBACK_ORDER so Gemini-only users can get a default provider via the fallback chain, and converted the TDD @tdd_expected_fail regression test to a permanent guard.