From 4e9048502680e1753bca197b7ea5abdbfcc391a3 Mon Sep 17 00:00:00 2001 From: Amitav Roy Date: Fri, 12 Dec 2025 16:30:14 +0530 Subject: [PATCH] Fix parameter name from thread_id to threadId The thread id that EloquentChatHistory takes is wrong. --- the-basics/chat-history-and-memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the-basics/chat-history-and-memory.md b/the-basics/chat-history-and-memory.md index aa87002..dabcc24 100644 --- a/the-basics/chat-history-and-memory.md +++ b/the-basics/chat-history-and-memory.md @@ -329,7 +329,7 @@ class MyAgent extends Agent protected function chatHistory(): ChatHistoryInterface { return new EloquentChatHistory( - thread_id: 'THREAD_ID', + threadId: 'THREAD_ID', modelClass: ChatMessage::class, contextWindow: 50000 );