# copilot chat: Remove invalid assertions \(\#32977\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d2ca68bd5ddedf8a2f19e6d1d791b39ba8425197

Requested commit: d2ca68bd5ddedf8a2f19e6d1d791b39ba8425197

Commit: d2ca68bd5ddedf8a2f19e6d1d791b39ba8425197

Tree: af94e3a78f343a6b8e76caaa7e9ea5126fb8a3e2

Author: Bennet Bo Fenner

Committer: GitHub

## Message

````
copilot chat: Remove invalid assertions (#32977)

Related to #32888, but will not fix the issue. 
Turns out these assertions are wrong (Not sure if they were correct at
some point).
I tested with this code:
```
        request = LanguageModelRequest {
            messages: vec![
                LanguageModelRequestMessage {
                    role: Role::User,
                    content: vec![MessageContent::Text("Give me 10 jokes".to_string())],
                    cache: false,
                },
                LanguageModelRequestMessage {
                    role: Role::Assistant,
                    content: vec![MessageContent::Text("Sure, here are 10 jokes:".to_string())],
                    cache: false,
                },
            ],
            ..request
        };
```
The API happily accepted this and Claude proceeded to tell me 10 jokes.

Release Notes:

- N/A
````

## Parents

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

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