Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/AiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class AiClient
/**
* @var string The version of the AI Client.
*/
public const VERSION = '0.4.3';
public const VERSION = '1.0.0';

/**
* @var ProviderRegistry|null The default provider registry instance.
Expand Down
8 changes: 4 additions & 4 deletions src/Common/Exception/TokenLimitReachedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
* exceeds the allowed limit, whether that is the model's context window
* or a configured maximum.
*
* @since n.e.x.t
* @since 1.0.0
*/
class TokenLimitReachedException extends RuntimeException
{
/**
* The token limit that was reached, if known.
*
* @since n.e.x.t
* @since 1.0.0
*
* @var int|null
*/
Expand All @@ -27,7 +27,7 @@ class TokenLimitReachedException extends RuntimeException
/**
* Creates a new TokenLimitReachedException.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param string $message The exception message.
* @param int|null $maxTokens The token limit that was reached, if known.
Expand All @@ -43,7 +43,7 @@ public function __construct(string $message = '', ?int $maxTokens = null, ?\Thro
/**
* Returns the token limit that was reached, if known.
*
* @since n.e.x.t
* @since 1.0.0
*
* @return int|null The token limit, or null if not provided.
*/
Expand Down