Skip to content

fix: Repair tool node call without recording history#6499

Merged
shaohuzhang1 merged 1 commit into
v2from
pr@v2@fix_tool_workflow
Jul 23, 2026
Merged

fix: Repair tool node call without recording history#6499
shaohuzhang1 merged 1 commit into
v2from
pr@v2@fix_tool_workflow

Conversation

@shaohuzhang1

Copy link
Copy Markdown
Contributor

fix: Repair tool node call without recording history

Copilot AI review requested due to automatic review settings July 23, 2026 10:13
@shaohuzhang1

Copy link
Copy Markdown
Contributor Author

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@shaohuzhang1
shaohuzhang1 merged commit 7bd9055 into v2 Jul 23, 2026
5 of 7 checks passed
@shaohuzhang1
shaohuzhang1 deleted the pr@v2@fix_tool_workflow branch July 23, 2026 10:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the tool-workflow library node so it can reconstruct and return an Answer list from child_answer_data stored in the node context, addressing cases where a tool node call would otherwise not contribute to the workflow’s recorded answer history.

Changes:

  • Import Answer into the tool workflow lib node implementation.
  • Add BaseToolWorkflowLibNodeNode.get_answer_list() to convert child_answer_data dicts into Answer objects.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +158 to +159
except Exception as e:
return []
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