# openai: Don't send prompt_cache_key for OpenAI-compatible models \(\#36231\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2a57b160b03c8e8543fdae12a0c191ed1a985e54

Requested commit: 2a57b160b03c8e8543fdae12a0c191ed1a985e54

Commit: 2a57b160b03c8e8543fdae12a0c191ed1a985e54

Tree: 169c088d41389338dde14bb7d7ccc06401b5d78c

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
openai: Don't send prompt_cache_key for OpenAI-compatible models (#36231)

Some APIs fail when they get this parameter

Closes #36215

Release Notes:

- Fixed OpenAI-compatible providers that don't support prompt caching
and/or reasoning
```

## Parents

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

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