Source HTTP API ID path patterns (#26623)
This commit is contained in:
@@ -102,9 +102,9 @@ function assistantInfo(
|
||||
|
||||
function basePart(messageID: string, id: string) {
|
||||
return {
|
||||
id: PartID.make(id),
|
||||
id: PartID.make(id.startsWith("prt") ? id : `prt_${id}`),
|
||||
sessionID,
|
||||
messageID: MessageID.make(messageID),
|
||||
messageID: MessageID.make(messageID.startsWith("msg") ? messageID : `msg_${messageID}`),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user