fix: adds default config to true (#787)

This commit is contained in:
Palash Shah 2025-08-20 15:40:04 -04:00 • committed by GitHub
parent 531372cb51
commit f246c811ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
import { GraphConfig } from "@open-swe/shared/open-swe/types";
export function shouldCreateIssue(config: GraphConfig): boolean {
return !!config.configurable?.shouldCreateIssue;
return config.configurable?.shouldCreateIssue !== false;
}