fix(js-sdk): fix types in session.chat (#1925)

Co-authored-by: zwingzheng <zwingzheng@tencent.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
This commit is contained in:
zWing 2025-08-21 23:44:20 +08:00 committed by GitHub
commit bca523eb63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 42 additions and 7 deletions

View file

@ -1527,7 +1527,10 @@ export type SessionChatResponses = {
/**
* Created message
*/
200: AssistantMessage
200: {
info: AssistantMessage
parts: Array<Part>
}
}
export type SessionChatResponse = SessionChatResponses[keyof SessionChatResponses]