# open_ai: Remove redundant serde aliases and add model limits \(\#32572\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8cc5b040452170d05e071b5bf9802a951fa224bb

Requested commit: 8cc5b040452170d05e071b5bf9802a951fa224bb

Commit: 8cc5b040452170d05e071b5bf9802a951fa224bb

Tree: 68883548371415690e81d46ece17fb88e6069f80

Author: Ben Brandt

Committer: GitHub

## Message

```
open_ai: Remove redundant serde aliases and add model limits (#32572)

Remove unnecessary alias attributes from Model enum variants and add
max_output_tokens limits for all OpenAI models. Also fix
supports_system_messages to explicitly handle all model variants.

Release Notes:

- N/A
```

## Parents

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

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