From f173424fa90a7bd9da2d4e425be677d3d79e07bd Mon Sep 17 00:00:00 2001 From: Erik Jespersen Date: Mon, 8 Jan 2024 01:48:54 -0500 Subject: [PATCH] 20240108 @Mookse - critical bug fix: mGetMessage called incorrectly --- inc/js/factory-class-extenders/class-extenders.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/js/factory-class-extenders/class-extenders.mjs b/inc/js/factory-class-extenders/class-extenders.mjs index 462e298..8711cb1 100644 --- a/inc/js/factory-class-extenders/class-extenders.mjs +++ b/inc/js/factory-class-extenders/class-extenders.mjs @@ -317,10 +317,10 @@ function extendClass_message(_originClass,_references) { this.content = `user posted content length greater than context window: find request in related file, file_id: ${_file.id}` // default content points to file }*/ this.#message = await mGetMessage( + this.#openai, _thread, this.content, this?.message?.id, - this.#openai ) return this }