mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
fix typos in diverse files (#3284)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
This commit is contained in:
@@ -177,7 +177,7 @@ export async function ensureCorrectEdit(
|
||||
return result;
|
||||
}
|
||||
} else {
|
||||
// Unescaping old_string resulted in > 1 occurrences
|
||||
// Unescaping old_string resulted in > 1 occurrence
|
||||
const result: CorrectedEditResult = {
|
||||
params: { ...originalParams },
|
||||
occurrences, // This will be > 1
|
||||
|
||||
@@ -138,7 +138,7 @@ export function getDiffCommand(
|
||||
/**
|
||||
* Opens a diff tool to compare two files.
|
||||
* Terminal-based editors by default blocks parent process until the editor exits.
|
||||
* GUI-based editors requires args such as "--wait" to block parent process.
|
||||
* GUI-based editors require args such as "--wait" to block parent process.
|
||||
*/
|
||||
export async function openDiff(
|
||||
oldPath: string,
|
||||
|
||||
@@ -112,7 +112,7 @@ export async function checkNextSpeaker(
|
||||
};
|
||||
}
|
||||
|
||||
// Things checked out. Lets proceed to potentially making an LLM request.
|
||||
// Things checked out. Let's proceed to potentially making an LLM request.
|
||||
|
||||
const lastMessage = curatedHistory[curatedHistory.length - 1];
|
||||
if (!lastMessage || lastMessage.role !== 'model') {
|
||||
|
||||
Reference in New Issue
Block a user