Skip to content

Commit 211e603

Browse files
committed
Bump version to 1.3.0.
1 parent 62d8e32 commit 211e603

7 files changed

Lines changed: 20 additions & 20 deletions

File tree

src/AiClient.php

Lines changed: 2 additions & 2 deletions
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 = '1.2.1';
89+
public const VERSION = '1.3.0';
9090

9191
/**
9292
* @var ProviderRegistry|null The default provider registry instance.
@@ -365,7 +365,7 @@ public static function generateSpeechResult(
365365
/**
366366
* Generates a video using the traditional API approach.
367367
*
368-
* @since n.e.x.t
368+
* @since 1.3.0
369369
*
370370
* @param Prompt $prompt The prompt content.
371371
* @param ModelInterface|ModelConfig|null $modelOrConfig Optional specific model to use,

src/Builders/PromptBuilder.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public function asOutputFileType(FileTypeEnum $fileType): self
632632
/**
633633
* Sets the output media orientation.
634634
*
635-
* @since n.e.x.t
635+
* @since 1.3.0
636636
*
637637
* @param MediaOrientationEnum $orientation The output media orientation.
638638
* @return self
@@ -649,7 +649,7 @@ public function asOutputMediaOrientation(MediaOrientationEnum $orientation): sel
649649
* If set, this supersedes the output media orientation, as it is a more
650650
* specific configuration.
651651
*
652-
* @since n.e.x.t
652+
* @since 1.3.0
653653
*
654654
* @param string $aspectRatio The aspect ratio (e.g. "16:9", "3:2").
655655
* @return self
@@ -663,7 +663,7 @@ public function asOutputMediaAspectRatio(string $aspectRatio): self
663663
/**
664664
* Sets the output speech voice.
665665
*
666-
* @since n.e.x.t
666+
* @since 1.3.0
667667
*
668668
* @param string $voice The output speech voice.
669669
* @return self
@@ -1105,7 +1105,7 @@ public function convertTextToSpeechResult(): GenerativeAiResult
11051105
/**
11061106
* Generates a video result from the prompt.
11071107
*
1108-
* @since n.e.x.t
1108+
* @since 1.3.0
11091109
*
11101110
* @return GenerativeAiResult The generated result containing video candidates.
11111111
* @throws InvalidArgumentException If the prompt or model validation fails.
@@ -1254,7 +1254,7 @@ public function generateSpeeches(?int $candidateCount = null): array
12541254
/**
12551255
* Generates a video from the prompt.
12561256
*
1257-
* @since n.e.x.t
1257+
* @since 1.3.0
12581258
*
12591259
* @return File The generated video file.
12601260
* @throws InvalidArgumentException If the prompt or model validation fails.
@@ -1268,7 +1268,7 @@ public function generateVideo(): File
12681268
/**
12691269
* Generates multiple videos from the prompt.
12701270
*
1271-
* @since n.e.x.t
1271+
* @since 1.3.0
12721272
*
12731273
* @param int|null $candidateCount The number of videos to generate.
12741274
* @return list<File> The generated video files.

src/Messages/DTO/MessagePart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function getType(): MessagePartTypeEnum
148148
/**
149149
* Gets the thought signature.
150150
*
151-
* @since n.e.x.t
151+
* @since 1.3.0
152152
*
153153
* @return string|null The thought signature or null if not set.
154154
*/

src/Providers/DTO/ProviderMetadata.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @since 0.1.0
1818
* @since 1.2.0 Added optional description property.
19-
* @since n.e.x.t Added optional logoPath property.
19+
* @since 1.3.0 Added optional logoPath property.
2020
*
2121
* @phpstan-type ProviderMetadataArrayShape array{
2222
* id: string,
@@ -80,7 +80,7 @@ class ProviderMetadata extends AbstractDataTransferObject
8080
*
8181
* @since 0.1.0
8282
* @since 1.2.0 Added optional $description parameter.
83-
* @since n.e.x.t Added optional $logoPath parameter.
83+
* @since 1.3.0 Added optional $logoPath parameter.
8484
*
8585
* @param string $id The provider's unique identifier.
8686
* @param string $name The provider's display name.
@@ -183,7 +183,7 @@ public function getAuthenticationMethod(): ?RequestAuthenticationMethod
183183
/**
184184
* Gets the full path to the provider's logo image file.
185185
*
186-
* @since n.e.x.t
186+
* @since 1.3.0
187187
*
188188
* @return string|null The full path to the logo image file.
189189
*/
@@ -197,7 +197,7 @@ public function getLogoPath(): ?string
197197
*
198198
* @since 0.1.0
199199
* @since 1.2.0 Added description to schema.
200-
* @since n.e.x.t Added logoPath to schema.
200+
* @since 1.3.0 Added logoPath to schema.
201201
*/
202202
public static function getJsonSchema(): array
203203
{
@@ -244,7 +244,7 @@ public static function getJsonSchema(): array
244244
*
245245
* @since 0.1.0
246246
* @since 1.2.0 Added description to output.
247-
* @since n.e.x.t Added logoPath to output.
247+
* @since 1.3.0 Added logoPath to output.
248248
*
249249
* @return ProviderMetadataArrayShape
250250
*/
@@ -266,7 +266,7 @@ public function toArray(): array
266266
*
267267
* @since 0.1.0
268268
* @since 1.2.0 Added description support.
269-
* @since n.e.x.t Added logoPath support.
269+
* @since 1.3.0 Added logoPath support.
270270
*/
271271
public static function fromArray(array $array): self
272272
{

src/Providers/Models/VideoGeneration/Contracts/VideoGenerationModelInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
*
1313
* Provides synchronous methods for generating videos from prompts.
1414
*
15-
* @since n.e.x.t
15+
* @since 1.3.0
1616
*/
1717
interface VideoGenerationModelInterface
1818
{
1919
/**
2020
* Generates videos from a prompt.
2121
*
22-
* @since n.e.x.t
22+
* @since 1.3.0
2323
*
2424
* @param list<Message> $prompt Array of messages containing the video generation prompt.
2525
* @return GenerativeAiResult Result containing generated videos.

src/Providers/Models/VideoGeneration/Contracts/VideoGenerationOperationModelInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
*
1313
* Provides methods for initiating long-running video generation tasks.
1414
*
15-
* @since n.e.x.t
15+
* @since 1.3.0
1616
*/
1717
interface VideoGenerationOperationModelInterface
1818
{
1919
/**
2020
* Creates a video generation operation.
2121
*
22-
* @since n.e.x.t
22+
* @since 1.3.0
2323
*
2424
* @param list<Message> $prompt Array of messages containing the video generation prompt.
2525
* @return GenerativeAiOperation The initiated video generation operation.

src/Results/DTO/TokenUsage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function getTotalTokens(): int
109109
/**
110110
* Gets the number of thought tokens, which is a subset of the completion token count.
111111
*
112-
* @since n.e.x.t
112+
* @since 1.3.0
113113
*
114114
* @return int|null The thought token count or null if not available.
115115
*/

0 commit comments

Comments
 (0)