We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8eed58 commit ffc3db7Copy full SHA for ffc3db7
src/Bridge/OpenRouter/Client.php
@@ -31,7 +31,7 @@ public function __construct(
31
32
public function supports(Model $model, array|string|object $input): bool
33
{
34
- return $input instanceof MessageBagInterface;
+ return $input instanceof MessageBagInterface && $model instanceof GenericModel;
35
}
36
37
public function request(Model $model, object|array|string $input, array $options = []): ResponseInterface
0 commit comments