Skip to content

Commit 3ff376e

Browse files
committed
Fix AgentMessage name.
1 parent f7e8f69 commit 3ff376e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ _Note: Similarly to the previous example, even without specifying the model here
184184
$text = AiClient::prompt()
185185
->withHistory(
186186
new UserMessage('Do you spell it WordPress or Wordpress?'),
187-
new AgentMessage('The correct spelling is WordPress.'),
187+
new ModelMessage('The correct spelling is WordPress.'),
188188
)
189189
->withText('Can you repeat that please?')
190190
->generateText();

0 commit comments

Comments
 (0)