Unify subrecipe and subagent execution through shared recipe pipeline (#5082)
This commit is contained in:
@@ -3762,13 +3762,6 @@
|
||||
],
|
||||
"nullable": true
|
||||
},
|
||||
"context": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"nullable": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -548,7 +548,6 @@ export type RawTextContent = {
|
||||
export type Recipe = {
|
||||
activities?: Array<string> | null;
|
||||
author?: Author | null;
|
||||
context?: Array<string> | null;
|
||||
description: string;
|
||||
extensions?: Array<ExtensionConfig> | null;
|
||||
instructions?: string | null;
|
||||
|
||||
@@ -60,9 +60,6 @@ interface CleanRecipe {
|
||||
prompt?: string;
|
||||
activities?: string[];
|
||||
extensions?: CleanExtension[];
|
||||
goosehints?: string;
|
||||
context?: string[];
|
||||
profile?: string;
|
||||
author?: {
|
||||
contact?: string;
|
||||
metadata?: string;
|
||||
@@ -238,10 +235,6 @@ function recipeToYaml(recipe: Recipe, executionMode: ExecutionMode): string {
|
||||
});
|
||||
}
|
||||
|
||||
if (recipe.context && recipe.context.length > 0) {
|
||||
cleanRecipe.context = recipe.context;
|
||||
}
|
||||
|
||||
if (recipe.author) {
|
||||
cleanRecipe.author = {
|
||||
contact: recipe.author.contact || undefined,
|
||||
|
||||
Reference in New Issue
Block a user