Skip to content

Commit 0d688a1

Browse files
JasonTheAdamsfelixarntzJasonTheAdams
authored
Merge pull request #207 from WordPress/prepare/1.0.0
Co-authored-by: felixarntz <flixos90@git.wordpress.org> Co-authored-by: JasonTheAdams <jason_the_adams@git.wordpress.org>
2 parents c9334d1 + 6e5d5ea commit 0d688a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/AiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class AiClient
8686
/**
8787
* @var string The version of the AI Client.
8888
*/
89-
public const VERSION = '0.4.3';
89+
public const VERSION = '1.0.0';
9090

9191
/**
9292
* @var ProviderRegistry|null The default provider registry instance.

src/Common/Exception/TokenLimitReachedException.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
* exceeds the allowed limit, whether that is the model's context window
1212
* or a configured maximum.
1313
*
14-
* @since n.e.x.t
14+
* @since 1.0.0
1515
*/
1616
class TokenLimitReachedException extends RuntimeException
1717
{
1818
/**
1919
* The token limit that was reached, if known.
2020
*
21-
* @since n.e.x.t
21+
* @since 1.0.0
2222
*
2323
* @var int|null
2424
*/
@@ -27,7 +27,7 @@ class TokenLimitReachedException extends RuntimeException
2727
/**
2828
* Creates a new TokenLimitReachedException.
2929
*
30-
* @since n.e.x.t
30+
* @since 1.0.0
3131
*
3232
* @param string $message The exception message.
3333
* @param int|null $maxTokens The token limit that was reached, if known.
@@ -43,7 +43,7 @@ public function __construct(string $message = '', ?int $maxTokens = null, ?\Thro
4343
/**
4444
* Returns the token limit that was reached, if known.
4545
*
46-
* @since n.e.x.t
46+
* @since 1.0.0
4747
*
4848
* @return int|null The token limit, or null if not provided.
4949
*/

0 commit comments

Comments
 (0)