# open_ai: Disable \`parallel_tool_calls\` \(\#28056\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/819bb8fffb52ad1ea7a0222fd157f42340b6db88)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 819bb8fffb52ad1ea7a0222fd157f42340b6db88

Requested commit: 819bb8fffb52ad1ea7a0222fd157f42340b6db88

Commit: 819bb8fffb52ad1ea7a0222fd157f42340b6db88

Tree: b6bf095429ed11c2c77713d172f0ec2e27fe323d

Author: Marshall Bowers

Committer: GitHub

## Message

```
open_ai: Disable `parallel_tool_calls` (#28056)

This PR disables `parallel_tool_calls` for the models that support it,
as the Agent currently expects at most one tool use per turn.

It was a bit of trial and error to figure this out. OpenAI's API
annoyingly will return an error if passing `parallel_tool_calls` to a
model that doesn't support it.

Release Notes:

- N/A
```

## Parents

- [c6e2d20a02b523172aea8a22fa2ec6c8975b52e4](https://git.cafe/gitcafe/zed/commit/c6e2d20a02b523172aea8a22fa2ec6c8975b52e4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/819bb8fffb52ad1ea7a0222fd157f42340b6db88?format=markdown)
