Skip to content

Commit

Permalink
Types
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlive committed Dec 8, 2024
1 parent 661ead1 commit 5b6c960
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Testing/PrismFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class PrismFake implements Provider
/** @var array<int, StructuredRequest|TextRequest|EmbeddingRequest> */
protected array $recorded = [];

/** @var array<string, mixed> */
protected $providerConfig = [];

/**
Expand Down Expand Up @@ -99,6 +100,9 @@ public function assertPrompt(string $prompt): void
);
}

/**
* @param array<string, mixed> $providerConfig
*/
public function assertProviderConfig(array $providerConfig): void
{
PHPUnit::assertEqualsCanonicalizing(
Expand Down

0 comments on commit 5b6c960

Please sign in to comment.