feat: add fail-closed Aider development skill
This commit is contained in:
+3
-2
@@ -174,7 +174,7 @@ function withAgentRunValidationMetadata(
|
||||
function prepareAgentRunUserMessage(message: Message, options: AgentRunCreateOptions): Message {
|
||||
const normalized = normalizeUserMessageForApi(message);
|
||||
const withValidation = withAgentRunValidationMetadata(normalized, options.validation);
|
||||
const withRunMetadata = options.forceDeepReasoning
|
||||
const withRunMetadata = options.forceDeepReasoning || options.executor
|
||||
? {
|
||||
...withValidation,
|
||||
metadata: {
|
||||
@@ -186,7 +186,8 @@ function prepareAgentRunUserMessage(message: Message, options: AgentRunCreateOpt
|
||||
? withValidation.metadata.memindRun
|
||||
: {}
|
||||
),
|
||||
forceDeepReasoning: true,
|
||||
...(options.forceDeepReasoning ? { forceDeepReasoning: true } : {}),
|
||||
...(options.executor ? { executor: options.executor } : {}),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user