chore: bump cortex with conversation patch update (#4598)
* chore: correct conversational PATCH methods with latest cortex update (#4568) # Conflicts: # extensions/inference-cortex-extension/bin/version.txt * chore: bump cortex 1.0.9-rc8
This commit is contained in:
parent
a87bbd2840
commit
a70735b8a5
@ -63,7 +63,7 @@ export default class CortexConversationalExtension extends ConversationalExtensi
|
||||
async modifyThread(thread: Thread): Promise<void> {
|
||||
return this.queue
|
||||
.add(() =>
|
||||
ky.post(`${API_URL}/v1/threads/${thread.id}`, { json: thread })
|
||||
ky.patch(`${API_URL}/v1/threads/${thread.id}`, { json: thread })
|
||||
)
|
||||
.then()
|
||||
}
|
||||
@ -101,7 +101,7 @@ export default class CortexConversationalExtension extends ConversationalExtensi
|
||||
async modifyMessage(message: ThreadMessage): Promise<ThreadMessage> {
|
||||
return this.queue.add(() =>
|
||||
ky
|
||||
.post(
|
||||
.patch(
|
||||
`${API_URL}/v1/threads/${message.thread_id}/messages/${message.id}`,
|
||||
{
|
||||
json: message,
|
||||
|
||||
@ -1 +1 @@
|
||||
1.0.9-rc4
|
||||
1.0.9-rc8
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user