Skip to content

Reduce Import Workflow AI credit usage by setting engine.model: small#365

Closed
Copilot wants to merge 4 commits into
mainfrom
copilot/aw-import-workflow-ai-credits
Closed

Reduce Import Workflow AI credit usage by setting engine.model: small#365
Copilot wants to merge 4 commits into
mainfrom
copilot/aw-import-workflow-ai-credits

Conversation

Copilot AI commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

The Import Workflow from Prompt Repository automation exceeded its max-ai-credits guardrail (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

    • Updated .github/workflows/import-workflow.md to explicitly use the small model:
    engine:
      model: small
  • Compiled workflow update

    • Regenerated .github/workflows/import-workflow.lock.yml so runtime config reflects the new model selection in agent/detection execution paths and metadata.
  • Scope

    • No behavioral prompt rewrite or safe-output policy changes; this PR is limited to model-cost control for the import workflow.

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 engine.model: small Jun 26, 2026
Copilot AI requested a review from pelikhan June 26, 2026 06:12
@pelikhan

Copy link
Copy Markdown
Contributor

@copilot use inlined agents to summarize the imported workflows and process them separately

Copilot AI and others added 2 commits June 26, 2026 06:25
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

@copilot use inlined agents to summarize the imported workflows and process them separately

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 c00e537.

@pelikhan pelikhan closed this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants