mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
Fixing at command race condition (#6663)
This commit is contained in:
parent
52e340a11b
commit
4642de2a5c
4 changed files with 139 additions and 36 deletions
|
|
@ -137,12 +137,9 @@ export async function handleAtCommand({
|
|||
);
|
||||
|
||||
if (atPathCommandParts.length === 0) {
|
||||
addItem({ type: 'user', text: query }, userMessageTimestamp);
|
||||
return { processedQuery: [{ text: query }], shouldProceed: true };
|
||||
}
|
||||
|
||||
addItem({ type: 'user', text: query }, userMessageTimestamp);
|
||||
|
||||
// Get centralized file discovery service
|
||||
const fileDiscovery = config.getFileService();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue