From a5e3ecfabb196786cbfeace4eba4f725e9234157 Mon Sep 17 00:00:00 2001 From: kosarinin Date: Thu, 16 Oct 2025 21:17:29 +0300 Subject: [PATCH] Fix a typo in chat history table name --- the-basics/chat-history-and-memory.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/the-basics/chat-history-and-memory.md b/the-basics/chat-history-and-memory.md index 0e7ba9b..9af6cac 100644 --- a/the-basics/chat-history-and-memory.md +++ b/the-basics/chat-history-and-memory.md @@ -196,7 +196,7 @@ class MyAgent extends Agent return new SQLChatHistory( thread_id: 'THREAD_ID', pdo: new \PDO("mysql:host=localhost;dbname=DB_NAME;charset=utf8mb4", "DB_USER", "DB_PASS"), - table: 'chat_hisotry', + table: 'chat_history', contextWindow: 50000 ); } @@ -224,7 +224,7 @@ class MyAgent extends Agent return new SQLChatHistory( thread_id: 'CHAT_THREAD_ID', pdo: \DB::connection()->getPdo(), - table: 'chat_hisotry', + table: 'chat_history', contextWindow: 50000 ); } @@ -254,7 +254,7 @@ class MyAgent extends Agent return new SQLChatHistory( thread_id: 'CHAT_THREAD_ID', pdo: $this->connection->getNativeConnection(), - table: 'chat_hisotry', + table: 'chat_history', contextWindow: 50000 ); }