Skip to content

feat/sub_stage_propagation - #537

Open
korotaav48 wants to merge 7 commits into
developmentfrom
feat/sub_stage_propagation
Open

korotaav48 wants to merge 7 commits into
developmentfrom
feat/sub_stage_propagation

Conversation

@korotaav48

Copy link
Copy Markdown
Contributor

Applicable issues

  • fixes #

Description of changes

Design doc for propagation stages from nested quickapps calls

Checklist

  • Title of the pull request follows Conventional Commits specification
  • Design documented is updated/created and approved by the team (if applicable)
  • Documentation is updated/created (if applicable)
  • Changes are tested on review environment
  • App schema changes are backward compatible, or breaking changes are documented with a migration guide
  • Integration tests pass

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ai-dial-actions

Copy link
Copy Markdown
Contributor

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title "feat/sub_stage_propagation". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat
 - fix
 - docs
 - test
 - ci
 - chore

Aleksei Korota added 3 commits September 7, 2026 16:09
When QuickApp A calls QuickApp B as a tool, B's stages are re-emitted
under A's "Calling X" stage, preserving call hierarchy at any depth.

- Add `propagate_sub_stages: bool | None` preview field to OrchestratorConfig
- Add `parent_stage_index` field to StageDeltaItem
- Add `stage` property to BaseStageWrapper for callers to read the SDK Stage
- Add `parent_stage: Stage | None` to ChatStreamConfig and ChoiceUiSink;
  ChoiceUiSink.create_stage() forwards parent kwarg when propagating
- DialCompletionService accepts `choice: Choice` (injected) and
  `parent_stage` to build the propagation-enabled ChatStreamConfig
- BaseDeploymentTool reads propagate_sub_stages from app_config and
  passes parent_stage to DialCompletionService
- stream_content=False during sub-app streaming to avoid double content
- Update test fixtures for new required constructor params
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.

2 participants