You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constcwd=vscode.workspace.workspaceFolders?.map((folder)=>folder.uri.fsPath).at(0)??path.join(os.homedir(),"Desktop")// may or may not exist but fs checking existence would immediately ask for permission which would be bad UX, need to come up with a better solution
clineIgnoreInstructions=`# .clineignore\n\n(The following is provided by a root-level .clineignore file where the user has specified files and directories that should not be accessed. When using list_files, you'll notice a ${LOCK_TEXT_SYMBOL} next to files that are blocked. Attempting to access the file's contents e.g. through read_file will result in an error.)\n\n${clineIgnoreContent}\n.clineignore`
// altering the system prompt mid-task will break the prompt cache, but in the grand scheme this will not change often so it's better to not pollute user messages with it the way we have to with <potentially relevant details>
// If the previous API request's total token usage is close to the context window, truncate the conversation history to free up space for the new request
0 commit comments