Skip to content

Add codegen support for inline workflow tool wrapper definition#3406

Draft
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1765996975-inline-workflow-tool-wrapper-codegen
Draft

Add codegen support for inline workflow tool wrapper definition#3406
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1765996975-inline-workflow-tool-wrapper-codegen

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented Dec 17, 2025

Adds codegen support for the inline workflow tool wrapper feature introduced in PR #3398. When an inline workflow has a definition field with inputs and/or examples, the codegen now wraps the workflow reference with tool(inputs={...}, examples=[...]).

Extracts common tool wrapper logic into shared helpers (parseToolInputsFromDefinition, parseToolExamplesFromDefinition, wrapWithToolIfNeeded) that are reused by both code execution functions and inline workflows, eliminating duplicate code.


@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

devin-ai-integration Bot and others added 3 commits December 19, 2025 07:11
Co-Authored-By: vincent@vellum.ai <0426vincent@gmail.com>
Co-Authored-By: vincent@vellum.ai <0426vincent@gmail.com>
Co-Authored-By: vincent@vellum.ai <0426vincent@gmail.com>
@devin-ai-integration devin-ai-integration Bot force-pushed the devin/1765996975-inline-workflow-tool-wrapper-codegen branch from 2aa76eb to 31cd0e5 Compare December 19, 2025 07:13
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.

1 participant