diff --git a/src/components/ConversationView/index.tsx b/src/components/ConversationView/index.tsx index 39e6979..5a9a3d9 100644 --- a/src/components/ConversationView/index.tsx +++ b/src/components/ConversationView/index.tsx @@ -167,7 +167,7 @@ const ConversationView = () => { if (tableList) { for (const table of tableList) { if (tokens < MAX_TOKENS / 2) { - tokens += countTextTokens(schema + table); + tokens += countTextTokens(table); schema += table; } }