Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending action support in multiple actions #621

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

curtisman
Copy link
Member

If an action requires the content of the result from previous action, multiple action will generate a pending request entry.
The pending request entry is converted into a "PendingRequestAction", and during execute, the request will be translated again with the current history context.

  • A lot of the diff is from breaking apart the file requestCommandHandler.ts
  • executeActions is not a queue to allow pending request action to be expanded to more actions.
  • streaming now allow different actionIndex as the streaming target so that translation for pending request can be streamed too, but if the translation is not a multiple action.
  • Add toggles for result id and pending for multiple actions.

@curtisman curtisman added this pull request to the merge queue Jan 29, 2025
Merged via the queue into microsoft:main with commit d5565b8 Jan 29, 2025
13 of 14 checks passed
@curtisman curtisman deleted the pending branch March 1, 2025 02:02
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