Error invoking model response: Call to undefined method Drupal\ai\OperationType\Chat\OpenAiTypeStreamedChatMessageIterator::getHostnameFilterService()
<!-- Please search existing work items before filing to avoid duplicates. -->
## Summary
While exploring Chat generation with streamed content, I got this error message:
```
Error invoking model response: Call to undefined method Drupal\ai\OperationType\Chat\OpenAiTypeStreamedChatMessageIterator::getHostnameFilterService()
```
<!--
Testing Setup (optional — to reproduce on a clean install):
mkdir my-drupal-site && cd my-drupal-site
ddev config --project-type=drupal11 --docroot=web
ddev composer create-project drupal/cms
ddev drush site:install --account-name=admin --account-pass=admin -y
# Enable AI Dashboard and ai_api_explorer
# Launch the site and open the AI dashboard to add an OpenAI or Anthropic key:
ddev launch $(ddev drush uli /admin/config/ai)
-->
## Steps to reproduce
1. Open AI API Explorer Chat.
2. Select provider/model.
3. Enable “streamed” output checkbox.
4. Submit prompt.
## Expected result
See chat response.
## Actual result
Error is presented.
## Environment
- Drupal version: 11.3.9
- Module version: 2.0.x-dev
- PHP version: 8.4.20
- Provider: Amazeeio
### Error messages or logs *(optional)*
```
Error: Call to undefined method Drupal\ai\OperationType\Chat\OpenAiTypeStreamedChatMessageIterator::getHostnameFilterService() in Drupal\ai\OperationType\Chat\StreamedChatMessageIterator->flushInternal() (line 892 of /var/www/html/web/modules/contrib/ai/src/OperationType/Chat/StreamedChatMessageIterator.php)
#0 /var/www/html/web/modules/contrib/ai/src/OperationType/Chat/StreamedChatMessageIterator.php(502): Drupal\ai\OperationType\Chat\StreamedChatMessageIterator->flushInternal()
#1 /var/www/html/web/modules/contrib/ai/src/OperationType/Chat/OpenAiTypeStreamedChatMessageIterator.php(20): Drupal\ai\OperationType\Chat\StreamedChatMessageIterator->createStreamedChatMessage()
#2 /var/www/html/web/modules/contrib/ai/src/OperationType/Chat/StreamedChatMessageIterator.php(363): Drupal\ai\OperationType\Chat\OpenAiTypeStreamedChatMessageIterator->doIterate()
#3 /var/www/html/web/modules/contrib/ai/modules/ai_api_explorer/src/Plugin/AiApiExplorer/ChatGenerator.php(434): Drupal\ai\OperationType\Chat\StreamedChatMessageIterator->getIterator()
#4 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(101): Drupal\ai_api_explorer\Plugin\AiApiExplorer\ChatGenerator->{closure:Drupal\ai_api_explorer\Plugin\AiApiExplorer\ChatGenerator::getResponse():433}()
#5 /var/www/html/vendor/symfony/http-foundation/StreamedResponse.php(125): Symfony\Component\HttpKernel\HttpKernel::{closure:Symfony\Component\HttpKernel\HttpKernel::handle():98}()
#6 /var/www/html/web/modules/contrib/ai/src/Response/AiStreamedResponse.php(59): Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
#7 /var/www/html/vendor/symfony/http-foundation/Response.php(403): Drupal\ai\Response\AiStreamedResponse->sendContent()
#8 /var/www/html/web/index.php(20): Symfony\Component\HttpFoundation\Response->send()
#9 {main}
```
issue