Skip to content

Commit 920db77

Browse files
committed
Use variadic parameter for messages.
1 parent 24285c4 commit 920db77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ direction LR
223223
+withVideoFile(File $file) self
224224
+withFunctionResponse(FunctionResponse $functionResponse) self
225225
+withMessageParts(...MessagePart $part) self
226-
+withHistory(Message[] $messages) self
226+
+withHistory(...Message $messages) self
227227
+usingModel(AiModel $model) self
228228
+usingSystemInstruction(string|MessagePart[]|Message $systemInstruction) self
229229
+usingTemperature(float $temperature) self
@@ -374,7 +374,7 @@ direction LR
374374
+withVideoFile(File $file) self
375375
+withFunctionResponse(FunctionResponse $functionResponse) self
376376
+withMessageParts(...MessagePart $part) self
377-
+withHistory(Message[] $messages) self
377+
+withHistory(...Message $messages) self
378378
+usingModel(AiModel $model) self
379379
+usingSystemInstruction(string|MessagePart[]|Message $systemInstruction) self
380380
+usingTemperature(float $temperature) self

0 commit comments

Comments
 (0)