File tree Expand file tree Collapse file tree 3 files changed +0
-39
lines changed Expand file tree Collapse file tree 3 files changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,4 @@ public function __construct(array $parts)
27
27
{
28
28
parent ::__construct (MessageRoleEnum::model (), $ parts );
29
29
}
30
-
31
- /**
32
- * Creates a model message from a simple text string.
33
- *
34
- * @since n.e.x.t
35
- *
36
- * @param string $text The text content.
37
- * @return self
38
- */
39
- public static function text (string $ text ): self
40
- {
41
- return new self ([MessagePart::text ($ text )]);
42
- }
43
30
}
Original file line number Diff line number Diff line change @@ -27,17 +27,4 @@ public function __construct(array $parts)
27
27
{
28
28
parent ::__construct (MessageRoleEnum::system (), $ parts );
29
29
}
30
-
31
- /**
32
- * Creates a system message from a simple text string.
33
- *
34
- * @since n.e.x.t
35
- *
36
- * @param string $text The text content.
37
- * @return self
38
- */
39
- public static function text (string $ text ): self
40
- {
41
- return new self ([MessagePart::text ($ text )]);
42
- }
43
30
}
Original file line number Diff line number Diff line change @@ -26,17 +26,4 @@ public function __construct(array $parts)
26
26
{
27
27
parent ::__construct (MessageRoleEnum::user (), $ parts );
28
28
}
29
-
30
- /**
31
- * Creates a user message from a simple text string.
32
- *
33
- * @since n.e.x.t
34
- *
35
- * @param string $text The text content.
36
- * @return self
37
- */
38
- public static function text (string $ text ): self
39
- {
40
- return new self ([MessagePart::text ($ text )]);
41
- }
42
29
}
You can’t perform that action at this time.
0 commit comments