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:
parent
2ff4cd2c2b
commit
bca523eb63
6 changed files with 42 additions and 7 deletions
|
|
@ -1527,7 +1527,10 @@ export type SessionChatResponses = {
|
|||
/**
|
||||
* Created message
|
||||
*/
|
||||
200: AssistantMessage
|
||||
200: {
|
||||
info: AssistantMessage
|
||||
parts: Array<Part>
|
||||
}
|
||||
}
|
||||
|
||||
export type SessionChatResponse = SessionChatResponses[keyof SessionChatResponses]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue