Files
oak-gpui/crates
Vladimir Kuznichenkov 098896146e bedrock: Fix subsequent bedrock tool calls fail (#33174)
Closes #30714

Bedrock converse api expect to see tool options if at least one tool was
used in conversation in the past messages.

Right now if `LanguageModelToolChoice::None` isn't supported edit agent
[remove][1] tools from request. That point breaks Converse API of
Bedrock. As was proposed in [the issue][2] we won't drop tool choose but
instead will deny any of them if model will respond with a tool choose.

[1]:
https://github.com/x-qdo/zed/blob/fceba6c79540677c2504d2c22191963b6170591a/crates/assistant_tools/src/edit_agent.rs#L703
[2]:
https://github.com/zed-industries/zed/issues/30714#issuecomment-2886422716

Release Notes:

- Fixed bedrock tool calls in edit mode
2025-06-25 10:37:07 +03:00
..
2025-06-18 14:43:23 +00:00
2025-06-22 16:23:17 -04:00
2025-06-22 16:23:17 -04:00
2025-06-05 12:59:22 +00:00
2025-06-22 16:23:17 -04:00
2025-06-22 16:23:17 -04:00
2025-06-17 20:26:27 +00:00
2025-06-23 20:53:55 -03:00