Skip to content

fix(databricks): add tool_call_id attribution to deferred image messages - #1

Open
msteve123 wants to merge 1 commit into
fix/databricks-image-tool-response-orderingfrom
fix/databricks-image-tool-attribution
Open

fix(databricks): add tool_call_id attribution to deferred image messages#1
msteve123 wants to merge 1 commit into
fix/databricks-image-tool-response-orderingfrom
fix/databricks-image-tool-attribution

Conversation

@msteve123

Copy link
Copy Markdown
Owner

When parallel tool calls return images, the deferred user-role image messages had no link back to their source tool. The model could not determine which image belonged to which tool result.

Add the tool_call_id to both the placeholder text in the tool result and the preamble of the deferred image message, giving the model a textual anchor for correct attribution.

Addresses peer review concern on aaif-goose#7449 fix.

When parallel tool calls return images, the deferred user-role image
messages had no link back to their source tool. The model could not
determine which image belonged to which tool result.

Add the tool_call_id to both the placeholder text in the tool result
and the preamble of the deferred image message, giving the model a
textual anchor for correct attribution.

Addresses peer review concern on aaif-goose#7449 fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Steve Marshall <steve.marshall@fasthosts.com>
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