Reduce Import Workflow AI credit usage by setting engine.model: small#365
Closed
Copilot wants to merge 4 commits into
Closed
Reduce Import Workflow AI credit usage by setting engine.model: small#365Copilot wants to merge 4 commits into
engine.model: small#365Copilot wants to merge 4 commits into
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Increase AI credits limit for Import Workflow
Reduce Import Workflow AI credit usage by setting Jun 26, 2026
engine.model: small
Contributor
|
@copilot use inlined agents to summarize the imported workflows and process them separately |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Implemented inlined-agent orchestration in the import workflow: it now delegates summarization to a dedicated inlined agent and processes workflow/custom-agent adaptations in separate inlined agent calls, with explicit consistency checks before writing files. Addressed in commit |
Nid-1
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Import Workflow from Prompt Repository automation exceeded its
max-ai-creditsguardrail (1K) during a production run (~1.4K AIC). This change lowers model cost for that workflow so normal imports are less likely to breach the budget limit.Workflow frontmatter change
.github/workflows/import-workflow.mdto explicitly use the small model:Compiled workflow update
.github/workflows/import-workflow.lock.ymlso runtime config reflects the new model selection in agent/detection execution paths and metadata.Scope