mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-19 10:43:08 +00:00
fix: Improve error handling and state management in auto-mode and utilities
This commit is contained in:
@@ -845,11 +845,9 @@ export class CodexProvider extends BaseProvider {
|
||||
options.model,
|
||||
CODEX_JSON_FLAG,
|
||||
...configOverrideArgs,
|
||||
...(schemaPath ? [CODEX_OUTPUT_SCHEMA_FLAG, schemaPath] : []),
|
||||
'-', // Read prompt from stdin to avoid shell escaping issues
|
||||
];
|
||||
if (schemaPath) {
|
||||
args.push(CODEX_OUTPUT_SCHEMA_FLAG, schemaPath);
|
||||
}
|
||||
|
||||
const envOverrides = buildEnv();
|
||||
if (executionPlan.openAiApiKey && !envOverrides[OPENAI_API_KEY_ENV]) {
|
||||
|
||||
Reference in New Issue
Block a user