1818 * This class provides a fluent interface for building messages with various
1919 * content types including text, files, function calls, and function responses.
2020 *
21- * @since n.e.x.t
21+ * @since 0.2.0
2222 *
2323 * @phpstan-import-type MessagePartArrayShape from MessagePart
2424 *
@@ -39,7 +39,7 @@ class MessageBuilder
3939 /**
4040 * Constructor.
4141 *
42- * @since n.e.x.t
42+ * @since 0.2.0
4343 *
4444 * @param Input $input Optional initial content.
4545 * @param MessageRoleEnum|null $role Optional role.
@@ -75,7 +75,7 @@ public function __construct($input = null, ?MessageRoleEnum $role = null)
7575 /**
7676 * Sets the role of the message sender.
7777 *
78- * @since n.e.x.t
78+ * @since 0.2.0
7979 *
8080 * @param MessageRoleEnum $role The role to set.
8181 * @return self
@@ -89,7 +89,7 @@ public function usingRole(MessageRoleEnum $role): self
8989 /**
9090 * Sets the role to user.
9191 *
92- * @since n.e.x.t
92+ * @since 0.2.0
9393 *
9494 * @return self
9595 */
@@ -101,7 +101,7 @@ public function usingUserRole(): self
101101 /**
102102 * Sets the role to model.
103103 *
104- * @since n.e.x.t
104+ * @since 0.2.0
105105 *
106106 * @return self
107107 */
@@ -113,7 +113,7 @@ public function usingModelRole(): self
113113 /**
114114 * Adds text content to the message.
115115 *
116- * @since n.e.x.t
116+ * @since 0.2.0
117117 *
118118 * @param string $text The text to add.
119119 * @return self
@@ -139,7 +139,7 @@ public function withText(string $text): self
139139 * - Data URI string (data:mime/type;base64,data)
140140 * - Local file path string
141141 *
142- * @since n.e.x.t
142+ * @since 0.2.0
143143 *
144144 * @param string|File $file The file to add.
145145 * @param string|null $mimeType Optional MIME type (ignored if File object provided).
@@ -156,7 +156,7 @@ public function withFile($file, ?string $mimeType = null): self
156156 /**
157157 * Adds a function call to the message.
158158 *
159- * @since n.e.x.t
159+ * @since 0.2.0
160160 *
161161 * @param FunctionCall $functionCall The function call to add.
162162 * @return self
@@ -170,7 +170,7 @@ public function withFunctionCall(FunctionCall $functionCall): self
170170 /**
171171 * Adds a function response to the message.
172172 *
173- * @since n.e.x.t
173+ * @since 0.2.0
174174 *
175175 * @param FunctionResponse $functionResponse The function response to add.
176176 * @return self
@@ -184,7 +184,7 @@ public function withFunctionResponse(FunctionResponse $functionResponse): self
184184 /**
185185 * Adds multiple message parts to the message.
186186 *
187- * @since n.e.x.t
187+ * @since 0.2.0
188188 *
189189 * @param MessagePart ...$parts The message parts to add.
190190 * @return self
@@ -201,7 +201,7 @@ public function withMessageParts(MessagePart ...$parts): self
201201 /**
202202 * Builds and returns the Message object.
203203 *
204- * @since n.e.x.t
204+ * @since 0.2.0
205205 *
206206 * @return Message The built message.
207207 * @throws InvalidArgumentException If the message validation fails.
0 commit comments