mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
fix(checkpoint): Prevent silent failure and enable for non-Git projects (#4144)
This commit is contained in:
parent
2f1d6234de
commit
9dc812dd4b
4 changed files with 38 additions and 19 deletions
|
|
@ -259,11 +259,7 @@ export class Config {
|
|||
// Initialize centralized FileDiscoveryService
|
||||
this.getFileService();
|
||||
if (this.getCheckpointingEnabled()) {
|
||||
try {
|
||||
await this.getGitService();
|
||||
} catch {
|
||||
// For now swallow the error, later log it.
|
||||
}
|
||||
await this.getGitService();
|
||||
}
|
||||
this.toolRegistry = await this.createToolRegistry();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue