Skip to content

Commit 4b6d8d5

Browse files
committed
tests(mcp): fix tests.
1 parent 7038486 commit 4b6d8d5

File tree

2 files changed

+54
-359
lines changed

2 files changed

+54
-359
lines changed

src/vectorcode/mcp_main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ async def query_tool(
175175
)
176176

177177
config = await get_project_config(project_root)
178+
config.query = query_messages
179+
config.n_result = n_query
178180
preprocess_query_keywords(config)
179181
config.n_result = n_query
180182

0 commit comments

Comments
 (0)