# gemini: Fix issue with builtin tool schemas \(\#33917\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3d7e012e09f569e731e0a425dda5dc365e222b45

Requested commit: 3d7e012e09f569e731e0a425dda5dc365e222b45

Commit: 3d7e012e09f569e731e0a425dda5dc365e222b45

Tree: 80ac87cf7dfa22572a731fda50ee80613fa6cda2

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
gemini: Fix issue with builtin tool schemas (#33917)

Closes #33894

After #33635 Gemini Integration was broken because we now produce
`const` fields for enums, which are not supported.
Changing this to `openapi3` fixes the issue.

Release Notes:

- Fixed an issue where Gemini Models would not work because of
incompatible tool schemas
```

## Parents

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

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