Skip to content

Commit 3b8fb2a

Browse files
committed
fix extract name
1 parent af728db commit 3b8fb2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/Agent/Serializer/ActionResultSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function serialize(ResultInterface $result): AgentMessage
6262

6363
private function extractName(string $content): string
6464
{
65-
preg_match('/\* Action: ([A-Za-z0-9-]+)/im', $content, $matches);
65+
preg_match('/Action: ([A-Za-z0-9-]+)/im', $content, $matches);
6666

6767
$name = $matches[1] ?? null;
6868
if (empty($name)) {

0 commit comments

Comments
 (0)