diff --git a/lib/context-manager.mjs b/lib/context-manager.mjs index 8fb3ec9..fff33a4 100644 --- a/lib/context-manager.mjs +++ b/lib/context-manager.mjs @@ -5,7 +5,7 @@ * Original implementation for OpenQode TUI */ -import { getQwen } from '../qwen-oauth.mjs'; +import { QwenOAuth } from '../qwen-oauth.mjs'; // Rough token estimation: ~4 chars per token for English const CHARS_PER_TOKEN = 4; @@ -96,7 +96,7 @@ SUMMARY:`; try { // Use AI to generate summary - const oauth = getQwen(); + const oauth = new QwenOAuth(); const result = await oauth.sendMessage(summaryPrompt, 'qwen-turbo'); if (result.success) {