Commit b4c74bf
committed
fix(types): make assistant message name optional
- Mark the assistant message `name` field as `NotRequired[Optional[str]]`
to match the optional nature of assistant message metadata and avoid
requiring callers to provide `name` in typed chat completion requests.
Signed-off-by: JamePeng <jame_peng@sina.com>1 parent 169d5e1 commit b4c74bf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
0 commit comments